[tracker] tracker-extract-mp3: Use nmm:length instead of nmm:duration



commit 56e7ba622a54e0fee7030c7723f6c188dfc1dad6
Author: Jürg Billeter <j bitron ch>
Date:   Tue May 12 15:22:28 2009 +0200

    tracker-extract-mp3: Use nmm:length instead of nmm:duration
    
    nmm:duration is not defined in the ontology.
---
 src/tracker-extract/tracker-extract-mp3.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tracker-extract/tracker-extract-mp3.c b/src/tracker-extract/tracker-extract-mp3.c
index fc74e7c..1af5b59 100644
--- a/src/tracker-extract/tracker-extract-mp3.c
+++ b/src/tracker-extract/tracker-extract-mp3.c
@@ -1045,7 +1045,7 @@ get_id3v23_tags (const gchar *data,
 		{"TYER", NIE_PREFIX "contentCreated", NULL, NULL, NULL, &filedata->id3v1_info->year},
 		{"TRCK", NMM_PREFIX "trackNumber", NULL, NULL, NULL, &filedata->id3v1_info->trackno},
 		/* TODO Nepomukify {"PCNT", "Audio:PlayCount"}, */
-		{"TLEN", NMM_PREFIX "duration", NULL, NULL, NULL, NULL},
+		{"TLEN", NMM_PREFIX "length", NULL, NULL, NULL, NULL},
 		{NULL, 0, NULL, NULL, NULL},
 	};
 
@@ -1301,7 +1301,7 @@ get_id3v20_tags (const gchar *data,
 		{"TOT", NMM_PREFIX "musicAlbum", "album", NMM_PREFIX "MusicAlbum", NMM_PREFIX "albumTitle", &filedata->id3v1_info->album},
 		{"TOL", NMM_PREFIX "performer", "artist", NMM_PREFIX "Artist", NMM_PREFIX "artistName", &filedata->id3v1_info->artist},
 		{"COM", NIE_PREFIX "comment", NULL, NULL, NULL, &filedata->id3v1_info->comment},
-		{"TLE", NMM_PREFIX "duration", NULL, NULL, NULL, NULL},
+		{"TLE", NMM_PREFIX "length", NULL, NULL, NULL, NULL},
 		{ NULL, 0, NULL, NULL, NULL},
 	};
 



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