X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sima%2Fplugins%2Fcore%2Funiq.py;h=60d1680ed174862817bdf830831ab9462d448eb1;hb=5595804ad7bc2eeb15db93efc129bf21d9a3cc77;hp=292de6f6f38e09ac8e76c319959fb38e863ab724;hpb=5aa6ec2f4b449797fbe8269c0d8d7da66bd2c9bc;p=mpd-sima.git diff --git a/sima/plugins/core/uniq.py b/sima/plugins/core/uniq.py index 292de6f..60d1680 100644 --- a/sima/plugins/core/uniq.py +++ b/sima/plugins/core/uniq.py @@ -54,11 +54,10 @@ class Uniq(Plugin): self.sub_chan() def is_capable(self): - 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 + # Groove Basin compatibility + # For some reason Groove Basin have channels command but no + # subscribe command‽ + return {'channels', 'subscribe'}.issubset(set(self.player.commands())) def get_channels(self): return [chan for chan in self.player.channels() if