From 62227477303bb19d122742d14618c2279cc2f385 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Thu, 21 Feb 2019 01:49:43 +0100 Subject: [PATCH] typo --- platypush/plugins/media/ctrl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/plugins/media/ctrl.py b/platypush/plugins/media/ctrl.py index 692b8b712..50bf9b517 100644 --- a/platypush/plugins/media/ctrl.py +++ b/platypush/plugins/media/ctrl.py @@ -57,7 +57,7 @@ class MediaCtrlPlugin(Plugin): def _get_playing_plugin(self): if self.plugin: status = self.plugin.status() - if status['state'] == PlayerState.PLAY or state['state'] == PlayerState.PAUSE: + if status['state'] == PlayerState.PLAY.value or state['state'] == PlayerState.PAUSE.value: return self.plugin for plugin in self._supported_plugins: