X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sima%2Flib%2Fplugin.py;h=3424ce3d4e6f4e3de3cd1a6bfb03ce84a0a06f79;hb=5adf0b495521a6f15f208474a026c088476e5018;hp=755aadf93efbfd514c39daad003bd5b71cb23f16;hpb=42ebd399a7845a53b0c606e59151714ce2e8bed2;p=mpd-sima.git diff --git a/sima/lib/plugin.py b/sima/lib/plugin.py index 755aadf..3424ce3 100644 --- a/sima/lib/plugin.py +++ b/sima/lib/plugin.py @@ -64,6 +64,13 @@ class Plugin: # self.log.debug('Got config for {0}: {1}'.format(self, # self.plugin_conf)) + def start(self): + """ + Called when the daemon().run() is called. + ie. right after the player has connected successfully. + """ + pass + def callback_player(self): """ Called on player changes, stopped, paused, skipped