Re: [Tracker] [PATCH] NFO: add nfo:lastPosition to nfo:Media
- From: Philip Van Hoof <philip codeminded be>
- To: Ivan Frade <ivan frade gmail com>
- Cc: tracker-list gnome org
- Subject: Re: [Tracker] [PATCH] NFO: add nfo:lastPosition to nfo:Media
- Date: Thu, 24 Mar 2011 10:10:46 +0100
For the nth time: please don't forget the nao:lastModified date of
the .ontology file
On Thu, 2011-03-24 at 09:48 +0200, Ivan Frade wrote:
Hi,
Committed the property in master as "nfo:lastPlayedPosition":
diff --git a/data/ontologies/33-nfo.ontology b/data/ontologies/33-nfo.ontology
index 2ccd974..39c92cf 100644
--- a/data/ontologies/33-nfo.ontology
+++ b/data/ontologies/33-nfo.ontology
@@ -966,3 +966,11 @@ nfo:HelpDocument a rdfs:Class ;
rdfs:comment "User guides and similar to assist the user" ;
rdfs:subClassOf nfo:Document .
+
+# This property needs to be submitted to NEPOMUK
+nfo:lastPlayedPosition a rdf:Property ;
+ rdfs:comment "Position in the media (in seconds) where the
play was paused. Positive number, being 0 the beggining of the media."
;
+ rdfs:label "last played position" ;
+ nrl:maxCardinality 1 ;
+ rdfs:domain nfo:Media ;
+ rdfs:range xsd:integer .
Regards,
Ivan
On Thu, Mar 24, 2011 at 8:15 AM, Adrien Bustany <abustany gnome org> wrote:
Le Wed, 23 Mar 2011 17:42:35 +0000,
lionel g landwerlin linux intel com a Ãcrit :
From: Lionel Landwerlin <lionel g landwerlin linux intel com>
This property will be use to save the played position within a media
file.
Signed-off-by: Lionel Landwerlin <lionel g landwerlin linux intel com>
---
data/ontologies/33-nfo.ontology | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/data/ontologies/33-nfo.ontology
b/data/ontologies/33-nfo.ontology index 2ccd974..7de5802 100644
--- a/data/ontologies/33-nfo.ontology
+++ b/data/ontologies/33-nfo.ontology
@@ -966,3 +966,8 @@ nfo:HelpDocument a rdfs:Class ;
rdfs:comment "User guides and similar to assist the user" ;
rdfs:subClassOf nfo:Document .
+# This property needs to be submitted to NEPOMUK
+nfo:lastPosition a rdf:Property ;
+ nrl:maxCardinality 1 ;
+ rdfs:domain nfo:Media ;
+ rdfs:range xsd:integer .
Thanks for the patch Lionel, could you please also add a rdfs:comment
on the property describing its use, and more importantly the unit of the
integer: bytes, seconds, light years?
Cheers
Adrien
_______________________________________________
tracker-list mailing list
tracker-list gnome org
http://mail.gnome.org/mailman/listinfo/tracker-list
_______________________________________________
tracker-list mailing list
tracker-list gnome org
http://mail.gnome.org/mailman/listinfo/tracker-list
--
Philip Van Hoof
freelance software developer
Codeminded BVBA - http://codeminded.be
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]