From dbc3e9b29cc4c760063d1a2a4cf917b2211b9998 Mon Sep 17 00:00:00 2001 From: kaliko Date: Tue, 3 Feb 2015 01:22:34 +0100 Subject: [PATCH] Try to fix unknown command "subscribe" --- 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..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 -- 2.39.5