2018-07-06 02:08:38 +02:00
|
|
|
from platypush.plugins import Plugin, action
|
|
|
|
|
2017-11-03 04:08:47 +01:00
|
|
|
|
|
|
|
class MusicPlugin(Plugin):
|
2018-07-06 02:08:38 +02:00
|
|
|
def __init__(self, *args, **kwargs):
|
2020-12-26 15:03:12 +01:00
|
|
|
super().__init__(**kwargs)
|
2018-07-06 02:08:38 +02:00
|
|
|
|
|
|
|
@action
|
2017-11-03 04:08:47 +01:00
|
|
|
def play(self):
|
|
|
|
raise NotImplementedError()
|
|
|
|
|
2018-07-06 02:08:38 +02:00
|
|
|
@action
|
2017-11-03 04:08:47 +01:00
|
|
|
def pause(self):
|
|
|
|
raise NotImplementedError()
|
|
|
|
|
2018-07-06 02:08:38 +02:00
|
|
|
@action
|
2017-11-03 04:08:47 +01:00
|
|
|
def stop(self):
|
|
|
|
raise NotImplementedError()
|
|
|
|
|
2018-07-06 02:08:38 +02:00
|
|
|
@action
|
2017-11-03 15:06:29 +01:00
|
|
|
def next(self):
|
|
|
|
raise NotImplementedError()
|
|
|
|
|
2018-07-06 02:08:38 +02:00
|
|
|
@action
|
2017-11-03 15:06:29 +01:00
|
|
|
def previous(self):
|
|
|
|
raise NotImplementedError()
|
|
|
|
|
2018-07-06 02:08:38 +02:00
|
|
|
@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()
|
|
|
|
|
2018-07-06 02:08:38 +02:00
|
|
|
@action
|
2017-11-03 15:06:29 +01:00
|
|
|
def add(self, content):
|
|
|
|
raise NotImplementedError()
|
|
|
|
|
2018-07-06 02:08:38 +02:00
|
|
|
@action
|
2017-11-03 15:06:29 +01:00
|
|
|
def clear(self):
|
|
|
|
raise NotImplementedError()
|
|
|
|
|
2018-07-06 02:08:38 +02:00
|
|
|
@action
|
2017-11-03 04:08:47 +01:00
|
|
|
def status(self):
|
|
|
|
raise NotImplementedError()
|
|
|
|
|
|
|
|
|
|
|
|
# vim:sw=4:ts=4:et:
|
|
|
|
|