platypush/platypush/plugins/music/__init__.py

51 lines
903 B
Python
Raw Normal View History

from platypush.plugins import Plugin, action
class MusicPlugin(Plugin):
def __init__(self, *args, **kwargs):
2020-12-26 15:03:12 +01:00
super().__init__(**kwargs)
@action
def play(self):
raise NotImplementedError()
@action
def pause(self):
raise NotImplementedError()
@action
def stop(self):
raise NotImplementedError()
@action
2017-11-03 15:06:29 +01:00
def next(self):
raise NotImplementedError()
@action
2017-11-03 15:06:29 +01:00
def previous(self):
raise NotImplementedError()
@action
2020-12-26 15:03:12 +01:00
def set_volume(self, volume):
raise NotImplementedError()
@action
def seek(self, position):
2017-11-03 15:06:29 +01:00
raise NotImplementedError()
@action
2017-11-03 15:06:29 +01:00
def add(self, content):
raise NotImplementedError()
@action
2017-11-03 15:06:29 +01:00
def clear(self):
raise NotImplementedError()
@action
def status(self):
raise NotImplementedError()
# vim:sw=4:ts=4:et: