forked from platypush/platypush
typo
This commit is contained in:
parent
97e1dfacdf
commit
6222747730
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class MediaCtrlPlugin(Plugin):
|
||||||
def _get_playing_plugin(self):
|
def _get_playing_plugin(self):
|
||||||
if self.plugin:
|
if self.plugin:
|
||||||
status = self.plugin.status()
|
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
|
return self.plugin
|
||||||
|
|
||||||
for plugin in self._supported_plugins:
|
for plugin in self._supported_plugins:
|
||||||
|
|
Loading…
Reference in a new issue