[gnome-music/wip/merge: 296/343] Fix eternal recursion



commit 50f4bad2a69ee00fff3a40f0921843aeb807ed70
Author: Guillaume Quintard <guillaume quintard gmail com>
Date:   Sat Jul 20 14:59:56 2013 +0200

    Fix eternal recursion
    
    Don't forget to update the iter, even it the track is unplayable

 gnomemusic/widgets.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gnomemusic/widgets.py b/gnomemusic/widgets.py
index d1ab6e1..171ed45 100644
--- a/gnomemusic/widgets.py
+++ b/gnomemusic/widgets.py
@@ -358,6 +358,7 @@ class ArtistAlbums(Gtk.VBox):
             song_widget = song.song_widget
 
             if not song_widget.can_be_played:
+                itr = playlist.iter_next(itr)
                 continue
 
             escapedTitle = AlbumArtCache.get_media_title(song, True)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]