rhythmbox r5777 - in trunk: . plugins/audioscrobbler plugins/magnatune/magnatune



Author: jmatthew
Date: Thu Jun 26 12:00:45 2008
New Revision: 5777
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=5777&view=rev

Log:
2008-06-26  Jonathan Matthew  <jonathan d14n org>

	* plugins/audioscrobbler/rb-lastfm-source.c:
	(rb_lastfm_source_new):
	* plugins/magnatune/magnatune/__init__.py:
	Don't use RHYTHMDB_ENTRY_STREAM category for magnatune or last.fm
	tracks.  Fixes #515337, also related to #518231.


Modified:
   trunk/ChangeLog
   trunk/plugins/audioscrobbler/rb-lastfm-source.c
   trunk/plugins/magnatune/magnatune/__init__.py

Modified: trunk/plugins/audioscrobbler/rb-lastfm-source.c
==============================================================================
--- trunk/plugins/audioscrobbler/rb-lastfm-source.c	(original)
+++ trunk/plugins/audioscrobbler/rb-lastfm-source.c	Thu Jun 26 12:00:45 2008
@@ -667,7 +667,7 @@
 	if (track_entry_type == RHYTHMDB_ENTRY_TYPE_INVALID) {
 		track_entry_type = rhythmdb_entry_register_type (db, "lastfm-track");
 		track_entry_type->save_to_disk = FALSE;
-		track_entry_type->category = RHYTHMDB_ENTRY_STREAM;		/* hrm, maybe normal? */
+		track_entry_type->category = RHYTHMDB_ENTRY_NORMAL;
 
 		track_entry_type->entry_type_data_size = sizeof (RBLastfmTrackEntryData);
 		track_entry_type->pre_entry_destroy = destroy_track_data;

Modified: trunk/plugins/magnatune/magnatune/__init__.py
==============================================================================
--- trunk/plugins/magnatune/magnatune/__init__.py	(original)
+++ trunk/plugins/magnatune/magnatune/__init__.py	Thu Jun 26 12:00:45 2008
@@ -100,7 +100,6 @@
 		# allow changes which don't do anything
 		self.entry_type.can_sync_metadata = True
 		self.entry_type.sync_metadata = None
-		self.entry_type.category = rhythmdb.ENTRY_STREAM
 
 		theme = gtk.icon_theme_get_default()
 		rb.append_plugin_source_path(theme, "/icons")



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