rhythmbox r5753 - in trunk: . plugins/ipod
- From: teuf svn gnome org
- To: svn-commits-list gnome org
- Subject: rhythmbox r5753 - in trunk: . plugins/ipod
- Date: Sun, 15 Jun 2008 12:54:07 +0000 (UTC)
Author: teuf
Date: Sun Jun 15 12:54:07 2008
New Revision: 5753
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=5753&view=rev
Log:
Use date and time from podcast when transferring a podcast to an ipod
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 Sun Jun 15 12:54:07 2008
@@ -495,6 +495,8 @@
if (rhythmdb_entry_get_pointer (entry, RHYTHMDB_PROP_TYPE) == RHYTHMDB_ENTRY_TYPE_PODCAST_POST) {
track->mediatype = MEDIATYPE_PODCAST;
+ track->time_released = rhythmdb_entry_get_ulong (entry, RHYTHMDB_PROP_POST_TIME);
+ track->time_released = itdb_time_host_to_mac (track->time_released);
} else {
track->mediatype = MEDIATYPE_AUDIO;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]