From c88354dc91b4f22af14b70e2fa2654f2f57438e3 Mon Sep 17 00:00:00 2001 From: kaliko Date: Tue, 3 Feb 2015 15:10:49 +0100 Subject: [PATCH] More robust client2client discovery --- sima/plugins/core/uniq.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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): -- 2.39.2