ocarina: Use new list_queue() for filling queue
I might as well use the new function so I can remove the old walk_queue() function.
This commit is contained in:
parent
d30eaeea50
commit
b43725bbe8
|
@ -19,7 +19,8 @@ def set_visible():
|
|||
QUEUE_PAGE.show()
|
||||
|
||||
def fill_queue():
|
||||
songs = queue.walk_queue("id", "title", "lenstr", "artist", "album", "year")
|
||||
attrs = ("id", "title", "lenstr", "artist", "album", "year")
|
||||
songs = libsaria.sources.list_queue(*attrs)
|
||||
queue_page.insert(songs)
|
||||
set_label_text()
|
||||
set_visible()
|
||||
|
|
Loading…
Reference in New Issue