[tracker/tracker-0.8] tracker-extract: playlist: Bugfix NB#169460, nmm:PlayList is the highest level
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.8] tracker-extract: playlist: Bugfix NB#169460, nmm:PlayList is the highest level
- Date: Thu, 27 May 2010 11:25:40 +0000 (UTC)
commit fcc19669fc9e94ea90031fa8ac466380093b4365
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]