libsaria: Remove new_source() functions

I have new functions for creating the library, so this (and associated
callbacks) are no longer needed.
This commit is contained in:
Bryan Schumaker 2011-05-23 10:07:19 -04:00
parent 913ee9f931
commit d8f47e8d4d
2 changed files with 0 additions and 11 deletions

View File

@ -33,10 +33,6 @@ on_load_playlist = null_cb
def load_playlist():
on_load_playlist()
on_new_source = null_cb
def new_source():
on_new_source()
on_library_updated = null_cb
def library_updated():
on_library_updated()

View File

@ -59,13 +59,6 @@ def set_attr(attr, value):
cur_source.set_attr(cur_id, attr, value)
cur_source.save()
def new_source(path, bg=True):
path = expand(path)
if not exists(path):
return 0
oldlibrary.scan(path)
libsaria.callbacks.new_source()
def make_library(path):
path = expand(path)
if not exists(path):