[tracker/tracker-0.12] ontologies, tracker-extract: Rename nfo:containerStartTime to nfo:audioOffset



commit cb131ce7dde307094777763af51945328b9174ed
Author: Sam Thursfield <sam thursfield codethink co uk>
Date:   Tue Sep 27 10:05:16 2011 +0100

    ontologies,tracker-extract: Rename nfo:containerStartTime to nfo:audioOffset
    
    Based on discussions at
    http://mail.kde.org/pipermail/nepomuk/2011-September/001860.html

 data/ontologies/33-nfo.ontology                 |    4 ++--
 src/tracker-extract/tracker-extract-gstreamer.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/data/ontologies/33-nfo.ontology b/data/ontologies/33-nfo.ontology
index 19b4cff..eae96b0 100644
--- a/data/ontologies/33-nfo.ontology
+++ b/data/ontologies/33-nfo.ontology
@@ -977,11 +977,11 @@ nfo:lastPlayedPosition a rdf:Property ;
         rdfs:range xsd:integer .
 
 # Bug upstream: http://sourceforge.net/apps/trac/oscaf/ticket/123
-nfo:containerStartTime a rdf:Property;
+nfo:audioOffset a rdf:Property;
         rdfs:label "Time offset within media container (seconds)" ;
         rdfs:comment "Specifies the start offset of this resource within a larger file, such as a single song within a recording of a radio broadcast or a CD rip.";
         nrl:maxCardinality 1 ;
-        rdfs:domain nfo:Media ;
+        rdfs:domain nfo:Audio ;
         rdfs:range xsd:double.
 
 
diff --git a/src/tracker-extract/tracker-extract-gstreamer.c b/src/tracker-extract/tracker-extract-gstreamer.c
index a344007..f7313fa 100644
--- a/src/tracker-extract/tracker-extract-gstreamer.c
+++ b/src/tracker-extract/tracker-extract-gstreamer.c
@@ -840,7 +840,7 @@ extract_track_metadata (MetadataExtractor    *extractor,
 		tracker_sparql_builder_object_int64 (postupdate, (gint64)toc_entry->duration);
 	}
 
-	tracker_sparql_builder_predicate (postupdate, "nfo:containerStartTime");
+	tracker_sparql_builder_predicate (postupdate, "nfo:audioOffset");
 	tracker_sparql_builder_object_double (postupdate, toc_entry->start);
 
 	/* Link the track to its container file. Since the file might not have been



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