Get correctly album name (to save the image in the right location)
authorIvan Frade <ivan.frade@nokia.com>
Sun, 25 Apr 2010 07:39:25 +0000 (10:39 +0300)
committerIvan Frade <ivan.frade@nokia.com>
Sun, 25 Apr 2010 07:39:25 +0000 (10:39 +0300)
The values of artist and album were swapped, and the album-art was
saved in the wrong location

src/album_art_panel.py

index 243f344..f5f58b2 100644 (file)
@@ -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"