forked from platypush/platypush
Added status method to media.ctrl plugin
This commit is contained in:
parent
ded4ac3b95
commit
a783efd0d7
1 changed files with 5 additions and 0 deletions
|
@ -130,5 +130,10 @@ class MediaCtrlPlugin(Plugin):
|
||||||
if plugin: return plugin.previous()
|
if plugin: return plugin.previous()
|
||||||
|
|
||||||
|
|
||||||
|
def status(self):
|
||||||
|
plugin = self._get_playing_plugin()
|
||||||
|
if plugin: return plugin.status()
|
||||||
|
|
||||||
|
|
||||||
# vim:sw=4:ts=4:et:
|
# vim:sw=4:ts=4:et:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue