rhythmbox r5697 - in trunk: . plugins/ipod



Author: jmatthew
Date: Thu May  1 12:11:29 2008
New Revision: 5697
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=5697&view=rev

Log:
2008-05-01  Jonathan Matthew  <jonathan d14n org>

	* plugins/ipod/rb-ipod-source.c: (rb_ipod_song_artwork_add_cb):
	Don't query for artwork if either the album or artist name is NULL.
	Fixes #525324.


Modified:
   trunk/ChangeLog
   trunk/plugins/ipod/rb-ipod-source.c

Modified: trunk/plugins/ipod/rb-ipod-source.c
==============================================================================
--- trunk/plugins/ipod/rb-ipod-source.c	(original)
+++ trunk/plugins/ipod/rb-ipod-source.c	Thu May  1 12:11:29 2008
@@ -1257,6 +1257,10 @@
 		return FALSE;
 	}
 
+	if (song->album == NULL || song->artist == NULL) {
+		return FALSE;
+	}
+
         g_object_get (G_OBJECT (isource), "entry-type", &entry_type, NULL);
  
 	pixbuf = GDK_PIXBUF (g_value_get_object (metadata));



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