|
|
(One intermediate revision by one other user not shown) |
Line 1: |
Line 1: |
− | = Architectural Overview =
| + | See http://wiki.openhome.org/wiki/Av:Developer:TimeService |
− | 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 TrackCount, which increments each time a new track is played; Duration, which is the duration of the current track in seconds; and Seconds, which is the number of seconds so far played.
| |
− | | |
− | TrackCount corresponds with TrackCount reported in the Info Service, but bears no relation to a Track Id or Preset Id reported from the [[Developer:Davaar:PlaylistService|Playlist Service]] or [[Developer:Davaar:RadioService|Radio Service]].
| |
− | | |
− | = Technical Details =
| |
− | <code>
| |
− | Domain : av.openhome.org
| |
− | Name : Time
| |
− | Version : 1
| |
− | </code>
| |
− | [http://oss.linn.co.uk/trac/browser/Main/LibUpnpCil/Services/Openhome/Time1.xml Time Service Description (XML)]
| |
− | | |
− | = Migration Guide From Cara =
| |
− | | |
− | The domain for the Time service has changed to av.openhome.org
| |
− | | |
− | == Actions ==
| |
− | === Time ===
| |
− | The arguments have changed their names as follows:
| |
− | | |
− | * aTrackCount -> TrackCount
| |
− | * aDuration -> Duration
| |
− | * aSeconds -> Seconds
| |
Latest revision as of 08:43, 21 November 2018