Fixed unreferenced var
This commit is contained in:
parent
a1d6c4fbe4
commit
118540db8c
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ class MediaCtrlPlugin(Plugin):
|
|||
]
|
||||
|
||||
if configured_media_plugins:
|
||||
plugin = get_plugin(plugin)
|
||||
plugin = get_plugin(configured_media_plugins[0])
|
||||
status = plugin.status().output
|
||||
if status.get('state') == PlayerState.PLAY.value or status.get('state') == PlayerState.PAUSE.value:
|
||||
return plugin
|
||||
|
|
Loading…
Reference in a new issue