From: kaliko Date: Tue, 3 Feb 2015 14:10:49 +0000 (+0100) Subject: More robust client2client discovery X-Git-Tag: 0.14.0~26 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=c88354dc91b4f22af14b70e2fa2654f2f57438e3;p=mpd-sima.git More robust client2client discovery --- diff --git a/sima/plugins/core/uniq.py b/sima/plugins/core/uniq.py index b61afa6..1abdd62 100644 --- a/sima/plugins/core/uniq.py +++ b/sima/plugins/core/uniq.py @@ -52,7 +52,10 @@ class Uniq(Plugin): self.sub_chan() def is_capable(self): - if 'channels' in self.player.commands(): + if {'channels', 'subscribe'}.issubset(set(self.player.commands())): + # Groove Basin compatibility + # For some reason Groove Basin have channels command but no + # subscribe command‽ return True def get_channels(self):