aboutsummaryrefslogtreecommitdiff
path: root/jamendo.lua
diff options
context:
space:
mode:
authorAlexander Yakushev <yakushev.alex@gmail.com>2011-10-15 16:39:19 +0300
committerAlexander Yakushev <yakushev.alex@gmail.com>2011-10-15 16:39:19 +0300
commit445e63ee42c5cee54a930139e71d48ce52745b2f (patch)
tree48c907eb7aab54196fc03348d087a0ff0b3a003f /jamendo.lua
parent0b423181c3271e48d6a898e67bb5bca5c8a4dee1 (diff)
downloadawesompd-445e63ee42c5cee54a930139e71d48ce52745b2f.tar.gz
awesompd-445e63ee42c5cee54a930139e71d48ce52745b2f.tar.bz2
Fix the status switching to disconnected when volume bounds are hit
When the volume is tried to set beyond its bounds (for example, make it lower when it's already zero) mpc returned an empty string which was treated like a disconnect. This dirty hack removes the problem.
Diffstat (limited to 'jamendo.lua')
-rw-r--r--jamendo.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/jamendo.lua b/jamendo.lua
index 870a421..5af6121 100644
--- a/jamendo.lua
+++ b/jamendo.lua
@@ -1,7 +1,7 @@
---------------------------------------------------------------------------
-- @author Alexander Yakushev <yakushev.alex@gmail.com>
-- @copyright 2011 Alexander Yakushev
--- @release v1.0.7
+-- @release v1.0.8
---------------------------------------------------------------------------
module('jamendo', package.seeall)