aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorMarius Vollmer <marius.vollmer@nokia.com>2009-10-15 10:35:58 +0300
committerMarius Vollmer <marius.vollmer@nokia.com>2009-10-15 10:36:17 +0300
commitdc5def215f11f9190e11cb7b1544396f7bf4cca6 (patch)
treee1a9608586ead2e8e2232d9492745e864a84fa7b /spec
parentc5f4f4554704c5dacbf1395660a27d84460d03af (diff)
Added Media.NowPlaying property to core.context.
Diffstat (limited to 'spec')
-rw-r--r--spec/core.context37
1 files changed, 37 insertions, 0 deletions
diff --git a/spec/core.context b/spec/core.context
index a7568ae7..f5dc5347 100644
--- a/spec/core.context
+++ b/spec/core.context
@@ -777,4 +777,41 @@ Applications should be prepared to see all states in any kind of order
without getting confused.
</doc>
</key>
+ <doc>
+Media
+-----
+
+Information about media related activity.
+ </doc>
+ <key name="Media.NowPlaying">
+ <typedoc>
+ <map>
+ <allowed-keys>
+ <resource type="nepomuk-uri"/>
+ <title type="string"/>
+ <artist type="string"/>
+ <genre type="string"/>
+ <album type="string"/>
+ <duration type="duration"/>
+ <start-time type="time"/>
+ <state type="string-enum"/>
+ </allowed-keys>
+ </map>
+ </typedoc>
+ <doc>
+The currently playing media, such as a video or audio track. The
+value is a dictionary with the listed entries. If "resource" is
+included, then "title", "artist", "genre", and "album" are consistent
+with what Tracker has stored.
+
+The current position in the media is always "current-time -
+start-time". If the user seeks then that is expressed by changing
+"start-time". In other words, "start-time" is not the point in time
+when the user has clicked the play button, it is the point in time
+when the media would have had to start to play uninterrupted to reach
+its current position now. This slight complication is done in favor
+of transmitting the position directly to avoid telling you once every
+second that it is now one second later.
+ </doc>
+ </key>
</properties>