# standard library import
import logging
+from difflib import get_close_matches
# local import
-#from sima.lib.track import Track
-
+from .simastr import SimaStr
+from ..utils.leven import levenshtein_ratio
class Player(object):
-
"""Player interface to inherit from.
When querying player music library for tracks, Player instance *must* return
* current
* queue
* playlist
- *
"""
def __init__(self):
"""
raise NotImplementedError
+ def clean(self):
+ """Any cleanup necessary"""
+ pass
+
def remove(self, position=0):
"""Removes the oldest element of the playlist (index 0)
"""