Re: [Tracker] Ontology addition for media files



Hi,

On Wed, Mar 23, 2011 at 3:35 PM, Lionel Landwerlin
<lionel g landwerlin linux intel com> wrote:
Hi all,

I have this use case where a multimedia application would like to
restart an already played stream at the last played position.
I'm also interested in having the play count and the last played
date/time.
At the moment there is no such property to store that kind of
information on media files.

 I think it makes sense to share that information between apps. Maybe
a 3rd party wants to add a player and respect those values.

To test my use case in the application I quickly added the following
properties in the tracker ontology (but I know it's not the right
place) :

tracker:lastPlayPosition a rdf:Property ;
       nrl:maxCardinality 1 ;
       rdfs:domain nfo:Media ;
       rdfs:range xsd:integer .

I think it is ok in Media (even when it doesn't make sense for
Images). What is the unit of that integer? seconds? milliseconds?


tracker:lastPlayDate a rdf:Property ;
       nrl:maxCardinality 1 ;
       rdfs:domain nfo:Media ;
       rdfs:range xsd:dateTime .

 You should use nie:contentAccessed. The atime of the file should be
under nfo:fileLastAccesed.

tracker:playCount a rdf:Property ;
       nrl:maxCardinality 1 ;
       rdfs:domain nfo:Media ;
       rdfs:range xsd:integer .

 This is nie:usageCounter.

 Regards,

Ivan



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