add a sispmctl_device
[~helmut/onoff.git] / mpd_watcher.py
index f085797..f72ca51 100755 (executable)
@@ -33,7 +33,7 @@ class MpdWatcher(object):
         state = self.mpdclient.status()["state"]
         if state == "play":
             if self.activatefd is None:
-                st, fd = self.onoffproxy.activatefd(3)
+                st, fd = self.onoffproxy.activatefd()
                 self.activatefd = fd.take()
         else:
             if self.activatefd is not None: