]> gitweb.fluxo.info Git - awesompd.git/commit
Fix the status switching to disconnected when volume bounds are hit
authorAlexander Yakushev <yakushev.alex@gmail.com>
Sat, 15 Oct 2011 13:39:19 +0000 (16:39 +0300)
committerAlexander Yakushev <yakushev.alex@gmail.com>
Sat, 15 Oct 2011 13:39:19 +0000 (16:39 +0300)
commit445e63ee42c5cee54a930139e71d48ce52745b2f
tree48c907eb7aab54196fc03348d087a0ff0b3a003f
parent0b423181c3271e48d6a898e67bb5bca5c8a4dee1
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.
awesompd.lua
jamendo.lua