ocarina: Fix setting album art

get_attrs() now returns a list, so the on_get_art() callback function
needs to be updated.
This commit is contained in:
Bryan Schumaker 2011-05-25 20:58:27 -04:00
parent e2c4d78fa8
commit fffc7f8816
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ callbacks.on_like = on_like
def on_get_art(path, id):
cur_id = libsaria.sources.get_attrs("id")
if id != cur_id:
if [id] != cur_id:
path = "images/ocarina.png"
footer.set_art(path)
callbacks.on_get_art = on_get_art