Re: [Tracker] Ontology addition for media files
- From: Lionel Landwerlin <lionel g landwerlin linux intel com>
- To: Ivan Frade <ivan frade gmail com>
- Cc: Tracker List <tracker-list gnome org>
- Subject: Re: [Tracker] Ontology addition for media files
- Date: Wed, 23 Mar 2011 16:13:52 +0000
On Wed, 2011-03-23 at 17:16 +0200, Ivan Frade wrote:
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?
I also nfo:duration is a property of nfo:Media (which has a nfo:Visual
subclass), that isn't very relevant to images...
I would like that unit to be in seconds.
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.
Ok sure, I missed that one.
tracker:playCount a rdf:Property ;
nrl:maxCardinality 1 ;
rdfs:domain nfo:Media ;
rdfs:range xsd:integer .
This is nie:usageCounter.
Great, thanks.
Regards,
Ivan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]