]> kaliko git repositories - mpd-sima.git/commitdiff
Try to fix unknown command "subscribe"
authorkaliko <kaliko@azylum.org>
Tue, 3 Feb 2015 00:22:34 +0000 (01:22 +0100)
committerkaliko <kaliko@azylum.org>
Tue, 3 Feb 2015 00:22:34 +0000 (01:22 +0100)
sima/plugins/core/uniq.py

index b61afa616278d2aec52ebac5d348a3b80e4666e8..17b17e2487cbe3377301a24d92a29ba2fd5f2cd9 100644 (file)
@@ -53,7 +53,10 @@ class Uniq(Plugin):
 
     def is_capable(self):
         if 'channels' in self.player.commands():
-            return True
+            if 'subscribe' in self.player.commands(): # Groove Basin compatibility
+                # For some reason Groove Basin have channels command but no
+                # subscribe command‽
+                return True
 
     def get_channels(self):
         return [chan for chan in self.player.channels() if