[tracker] tracker-extract: playlist: Bugfix NB#169460, nmm:PlayList is the highest level



commit a689f640747d6411c4dfe8997e9326f5f97b8d5d
Author: Philip Van Hoof <philip codeminded be>
Date:   Thu May 20 19:15:15 2010 +0200

    tracker-extract: playlist: Bugfix NB#169460, nmm:PlayList is the highest level
    
    nmm:PlayList is the highest level for playlists for music pieces, not just
    nfo:MediaList

 src/tracker-extract/tracker-extract-playlist.c |    2 +-
 utils/playlists/playlist2ttl.c                 |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-playlist.c b/src/tracker-extract/tracker-extract-playlist.c
index 3eb856b..be56f82 100644
--- a/src/tracker-extract/tracker-extract-playlist.c
+++ b/src/tracker-extract/tracker-extract-playlist.c
@@ -122,7 +122,7 @@ extract_playlist (const gchar          *uri,
 	                  G_CALLBACK (entry_parsed), &data);
 
 	tracker_sparql_builder_predicate (metadata, "a");
-	tracker_sparql_builder_object (metadata, "nfo:MediaList");
+	tracker_sparql_builder_object (metadata, "nmm:Playlist");
 
 	result = totem_pl_parser_parse (pl, uri, FALSE);
 
diff --git a/utils/playlists/playlist2ttl.c b/utils/playlists/playlist2ttl.c
index 40273b1..4b8387e 100644
--- a/utils/playlists/playlist2ttl.c
+++ b/utils/playlists/playlist2ttl.c
@@ -47,7 +47,7 @@ print_header ()
 
 static void
 print_playlist_entry (const gchar *uri) {
-	g_print ("<%s> a nfo:MediaList .\n\n", uri);
+	g_print ("<%s> a nmm:Playlist .\n\n", uri);
 }
 
 static void



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