Index: sources/rb-audiocd-source.c
===================================================================
RCS file: /cvs/gnome/rhythmbox/sources/rb-audiocd-source.c,v
retrieving revision 1.25
diff -u -r1.25 rb-audiocd-source.c
--- sources/rb-audiocd-source.c	11 Mar 2006 00:58:54 -0000	1.25
+++ sources/rb-audiocd-source.c	25 Mar 2006 13:13:38 -0000
@@ -396,7 +400,7 @@
 			TrackDetails *track = (TrackDetails*)album->tracks->data;
 			RhythmDBEntry *entry = cd_track->data;
 			GValue value = {0, };
-
+			GType type;
 			/* record track info in entry*/
 			entry_set_string_prop (db, entry, TRUE, RHYTHMDB_PROP_TITLE, track->title);
 			entry_set_string_prop (db, entry, TRUE, RHYTHMDB_PROP_ARTIST, track->artist);
@@ -408,7 +412,15 @@
 			rhythmdb_entry_set (db, entry, RHYTHMDB_PROP_DURATION, &value);
 			g_value_unset (&value);
 			
-			/*album->release_date (has multiple values)*/
+			/*album->release_date (could potentially have multiple values)*/
+			/* in current sj-structures.h, however, it does not */
+			
+			type = rhythmdb_get_property_type (db, RHYTHMDB_PROP_DATE);
+			g_value_init (&value, type);
+			g_value_set_ulong (&value, g_date_get_julian (album->release_date));
+			rhythmdb_entry_set (db, entry, RHYTHMDB_PROP_DATE, &value);
+			g_value_unset (&value);
+
 			rhythmdb_commit (db);
 
 			album->tracks = g_list_next (album->tracks);
