X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sima%2Flib%2Fplayer.py;h=37b3c7202dc392b842e25ff783effd34a7c6081f;hb=f036019a4f5ce8b43d0c1b704ae1a67e36b6b6ac;hp=ddba0a9bea46357e94ec2f5bc6a1ebef7b19f6fd;hpb=24993cd99b847733894f57fd004ed52b5390244a;p=mpd-sima.git diff --git a/sima/lib/player.py b/sima/lib/player.py index ddba0a9..37b3c72 100644 --- a/sima/lib/player.py +++ b/sima/lib/player.py @@ -29,7 +29,6 @@ import logging class Player(object): - """Player interface to inherit from. When querying player music library for tracks, Player instance *must* return @@ -58,6 +57,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) """