Difference between revisions of "Developer:Davaar:TimeService"

From LinnDocs
Jump to: navigation, search
(Created page with '= Architecture Overview = The Time Service provides source-independent time information concerning the currently playing media. Introduced in Cara 6, this service should allow a …')
 
(Architecture Overview)
Line 1: Line 1:
 
= Architecture Overview =
 
= Architecture Overview =
The Time Service provides source-independent time information concerning the currently playing media. Introduced in Cara 6, this service should allow a subscribing control point to report on the progress of what is currently being played without having to know which source is currently active.
+
The Time service reports the duration of the currently playing track and the number of seconds so far played.
  
The Time Service presents this information centred around the concept of a Track, which has a Duration and a number of Seconds so far played.
+
This service is intentionally separated from the Info service. When a track is being played, this service delivers an event every second, which can overwhelm some primitive control points. The Time service is kept separate from the Info service so that control points can decide to subscribe to it independently.
  
 +
= Actions =
 
==Time==
 
==Time==
 
This reports the Track Count, which increments each time a new track is played, the Duration of the current Track, and the number of Seconds so far played.
 
This reports the Track Count, which increments each time a new track is played, the Duration of the current Track, and the number of Seconds so far played.

Revision as of 12:18, 23 November 2010

Architecture Overview

The Time service reports the duration of the currently playing track and the number of seconds so far played.

This service is intentionally separated from the Info service. When a track is being played, this service delivers an event every second, which can overwhelm some primitive control points. The Time service is kept separate from the Info service so that control points can decide to subscribe to it independently.

Actions

Time

This reports the Track Count, which increments each time a new track is played, the Duration of the current Track, and the number of Seconds so far played.

The Track Count corresponds with the Track Count in the Info Service, but bears no relation to a Track Id or Preset Id reported from the Playlist Service or Radio Service.

API Reference

Time Service Description (XML)

Migration Guide

None.

Upnp Action Name Changes

None.


Obsolete Functions

None.