def info(cls):
"""self documenting class method
"""
+ doc = 'Undocumented plugin! Fill "{}" docstring'.format(cls.__name__)
+ if cls.__doc__:
+ doc = cls.__doc__.strip(' \n').splitlines()[0]
return {'name': cls.__name__,
- 'doc': cls.__doc__.strip(' \n').splitlines()[0]
+ 'doc': doc,
}
def __init__(self, daemon):
self.log = daemon.log
self.__daemon = daemon
+ self.player = daemon.player
self.plugin_conf = None
self.__get_config()
"""
pass
+ def callback_need_track_fb(self):
+ """Called when callback_next_song failled to find tracks to queue
+ Returns a list of Track objects to add
+ """
+ pass
+
def shutdown(self):
pass