X-Git-Url: http://git.kaliko.me/?a=blobdiff_plain;f=sima%2Flib%2Fplugin.py;h=bb80a272642d5852b2518775da16bc32ff14ebfc;hb=e7259b6d087e3f521079e4711b7247a530cd501e;hp=3424ce3d4e6f4e3de3cd1a6bfb03ce84a0a06f79;hpb=5adf0b495521a6f15f208474a026c088476e5018;p=mpd-sima.git diff --git a/sima/lib/plugin.py b/sima/lib/plugin.py index 3424ce3..bb80a27 100644 --- a/sima/lib/plugin.py +++ b/sima/lib/plugin.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (c) 2013, 2014 Jack Kaliko +# Copyright (c) 2013-2015 Jack Kaliko # # This file is part of sima # @@ -66,8 +66,8 @@ class Plugin: def start(self): """ - Called when the daemon().run() is called. - ie. right after the player has connected successfully. + Called when the daemon().run() is called and + right after the player has connected successfully. """ pass @@ -86,24 +86,26 @@ class Plugin: def callback_playlist(self): """ Called on playlist changes - Not returning data """ pass def callback_next_song(self): - """Not returning data, + """ Could be use to scrobble, maintain an history… + Not returning data, """ pass def callback_need_track(self): - """Returns a list of Track objects to add + """ + Returns a list of Track objects to add """ pass def callback_need_track_fb(self): - """Called when callback_next_song failled to find tracks to queue + """ + Called when callback_need_track failled to find tracks to queue Returns a list of Track objects to add """ pass