X-Git-Url: http://git.kaliko.me/?a=blobdiff_plain;f=sima%2Flib%2Fplayer.py;h=ea57255f4713c6a6026c78ec11de625839ea31c1;hb=refs%2Ftags%2F0.12.3;hp=ddba0a9bea46357e94ec2f5bc6a1ebef7b19f6fd;hpb=24993cd99b847733894f57fd004ed52b5390244a;p=mpd-sima.git diff --git a/sima/lib/player.py b/sima/lib/player.py index ddba0a9..ea57255 100644 --- a/sima/lib/player.py +++ b/sima/lib/player.py @@ -24,12 +24,8 @@ # standard library import import logging -# local import -#from sima.lib.track import Track - class Player(object): - """Player interface to inherit from. When querying player music library for tracks, Player instance *must* return @@ -58,6 +54,10 @@ class Player(object): """ raise NotImplementedError + def clean(self): + """Any cleanup necessary""" + pass + def remove(self, position=0): """Removes the oldest element of the playlist (index 0) """