[tracker/rss-enclosures] Added dlna profile to mp3 extractor.
- From: Roberto Guido <rguido src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/rss-enclosures] Added dlna profile to mp3 extractor.
- Date: Wed, 24 Nov 2010 01:22:47 +0000 (UTC)
commit 9a7198668c2adf607e9313ad6f21a75b0ef2a66a
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]