ocarina: Use new list_playlist() function
This commit is contained in:
parent
8b51871225
commit
64c6677263
|
@ -13,7 +13,8 @@ def set_label_text():
|
|||
PLAYLIST_PAGE.label.set_text("Playlist (%s)" % playlist.num_visible())
|
||||
|
||||
def fill_playlist():
|
||||
songs = playlist.walk_playlist("id", "title", "lenstr", "artist", "album", "year")
|
||||
attrs = ("id", "title", "lenstr", "artist", "album", "year")
|
||||
songs = libsaria.sources.list_playlist(*attrs)
|
||||
playlist_page.insert(songs)
|
||||
set_label_text()
|
||||
fill_playlist()
|
||||
|
|
Loading…
Reference in New Issue