OpenHome

Av:Developer:Eriskay:TransportPlayAsCommands

Transport PlayAs Options

The Transport service’s PlayAs action takes arguments for mode (source or group of related sources) and a mode-specific command. Some standard modes and commands are listed below; other manufacturer-specific options are possible.

Playlist

The "playlist" mode supports the following commands:

Radio

The "radio" mode supports the following command:

Receiver

The "receiver" mode supports the following command:

   {
       "url": "[sender_url]",
       "metadata": "[openhome_sender_metadata]"
   }

</tt> and will start playing the same content as the device that either hosts the ohu or ohm sender or matches the zone in the ohz url.

Single

The "single" mode supports the following command

   {
       "url": "[track_url]",
       "metadata": "[openhome_metadata]"
   }

</tt> and will start playing [track_url], reporting the specified metadata. When the track completes, it will be queued again then TransportState will change to Stopped.

External

The "external" mode supports the following command:

UpnpAv

The "upnpav" mode supports the following command: