From: kaliko Date: Tue, 3 Feb 2015 00:22:34 +0000 (+0100) Subject: Try to fix unknown command "subscribe" X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=dbc3e9b29cc4c760063d1a2a4cf917b2211b9998;p=mpd-sima.git Try to fix unknown command "subscribe" --- diff --git a/sima/plugins/core/uniq.py b/sima/plugins/core/uniq.py index b61afa6..17b17e2 100644 --- a/sima/plugins/core/uniq.py +++ b/sima/plugins/core/uniq.py @@ -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