libsaria: Remove unused playlist functions

I have more generic play_id() and load_id() functions now, so the
playlist specific implementations haven't been used in a long time.  I
don't think I need them anymore.
This commit is contained in:
Bryan Schumaker 2011-05-15 10:47:26 -04:00
parent b56fb6768f
commit b4eb7c15c5
1 changed files with 0 additions and 17 deletions

View File

@ -48,23 +48,6 @@ def num_visible():
return len(visible)
return len(playlist.song_list)
def get_cur_id():
return playlist.song_list[cur_index]
def load_id(id):
global cur_index
cur_index = playlist.song_list.index(id)
save()
path = library.get_attrs(id, "filepath")
return source.load_file(path)
def play_id(id):
if load_id(id) == True:
print "playing..."
libsaria.controls.play()
return True
return False
def get_next(cur_id):
id = None
if libsaria.prefs.get("libsaria.random") == True: