[rhythmbox] mpris: correct the key name used for the track duration



commit 39a64341a1f4473382424a713ef74fe6cb903b31
Author: Jonathan Matthew <jonathan d14n org>
Date:   Wed Jul 14 21:33:48 2010 +1000

    mpris: correct the key name used for the track duration

 plugins/mpris/rb-mpris-plugin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/mpris/rb-mpris-plugin.c b/plugins/mpris/rb-mpris-plugin.c
index 57221bc..ef72dd3 100644
--- a/plugins/mpris/rb-mpris-plugin.c
+++ b/plugins/mpris/rb-mpris-plugin.c
@@ -253,7 +253,7 @@ build_track_metadata (RBMprisPlugin *plugin,
 
 	add_int_property (builder, entry, RHYTHMDB_PROP_TRACK_NUMBER, "tracknumber");
 	add_int_property (builder, entry, RHYTHMDB_PROP_DISC_NUMBER, "discnumber");	/* extension */
-	add_int_property (builder, entry, RHYTHMDB_PROP_DURATION, "duration");
+	add_int_property (builder, entry, RHYTHMDB_PROP_DURATION, "time");
 	add_int_property (builder, entry, RHYTHMDB_PROP_BITRATE, "audio-bitrate");
 	add_int_property (builder, entry, RHYTHMDB_PROP_YEAR, "year");
 	/* missing: date */



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