From 50dae1c32da2b104ea26581cb0f313b86736ae19 Mon Sep 17 00:00:00 2001 From: Ivan Frade Date: Sun, 25 Apr 2010 10:39:25 +0300 Subject: [PATCH] Get correctly album name (to save the image in the right location) The values of artist and album were swapped, and the album-art was saved in the wrong location --- src/album_art_panel.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/album_art_panel.py b/src/album_art_panel.py index 243f344..f5f58b2 100644 --- a/src/album_art_panel.py +++ b/src/album_art_panel.py @@ -91,9 +91,8 @@ class MussorgskyAlbumArtPanel (hildon.StackableWindow): def row_activated_cb (self, treeview, path, view_colum): it = treeview.get_model ().get_iter (path) - artist = treeview.get_model ().get_value (it, 3) - album = treeview.get_model ().get_value (it, 2) - print artist + artist = treeview.get_model ().get_value (it, 2) + album = treeview.get_model ().get_value (it, 3) if (artist.find ('|') != -1): artist = "Various artists" -- 1.7.9.5