[tracker] Added dlna profile to mp3 extractor.



commit 59c0708afb83fe87a3a20fcbc75590a471ea363a
Author: Mikael Ottela <mikael ottela ixonos com>
Date:   Wed Aug 18 15:01:31 2010 +0300

    Added dlna profile to mp3 extractor.

 src/tracker-extract/tracker-extract-mp3.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-mp3.c b/src/tracker-extract/tracker-extract-mp3.c
index 279eebc..534222a 100644
--- a/src/tracker-extract/tracker-extract-mp3.c
+++ b/src/tracker-extract/tracker-extract-mp3.c
@@ -2228,6 +2228,10 @@ extract_mp3 (const gchar          *uri,
 		tracker_sparql_builder_object_int64 (metadata, md.track_number);
 	}
 
+	/* FIXME We use a hardcoded value here for now. In reality there's a second option MP3X */
+	tracker_sparql_builder_predicate (metadata, "nmm:dlnaProfile");
+	tracker_sparql_builder_object_string (metadata, "MP3");
+
 	/* Get mp3 stream info */
 	mp3_parse (buffer, buffer_size, audio_offset, uri, metadata, &md);
 



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