<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.openhome.org/mediawiki/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.openhome.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Av%3ADeveloper%3AEriskay%3ATransportPlayAsCommands</id>
		<title>Av:Developer:Eriskay:TransportPlayAsCommands - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.openhome.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Av%3ADeveloper%3AEriskay%3ATransportPlayAsCommands"/>
		<link rel="alternate" type="text/html" href="http://wiki.openhome.org/mediawiki/index.php?title=Av:Developer:Eriskay:TransportPlayAsCommands&amp;action=history"/>
		<updated>2026-05-12T23:00:24Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.2</generator>

	<entry>
		<id>http://wiki.openhome.org/mediawiki/index.php?title=Av:Developer:Eriskay:TransportPlayAsCommands&amp;diff=1317&amp;oldid=prev</id>
		<title>Simonc: Created page with &quot;= Transport PlayAs Options = The  Transport service’s &lt;tt&gt;PlayAs&lt;/tt&gt; action takes arguments for &lt;tt&gt;mode&lt;/tt&gt; (source or group of re...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.openhome.org/mediawiki/index.php?title=Av:Developer:Eriskay:TransportPlayAsCommands&amp;diff=1317&amp;oldid=prev"/>
				<updated>2015-12-15T14:44:39Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Transport PlayAs Options = The &lt;a href=&quot;/wiki/Av:Developer:Eriskay:TransportService&quot; title=&quot;Av:Developer:Eriskay:TransportService&quot;&gt; Transport&lt;/a&gt; service’s &amp;lt;tt&amp;gt;PlayAs&amp;lt;/tt&amp;gt; action takes arguments for &amp;lt;tt&amp;gt;mode&amp;lt;/tt&amp;gt; (source or group of re...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Transport PlayAs Options =&lt;br /&gt;
The [[Av:Developer:Eriskay:TransportService | Transport]] service’s &amp;lt;tt&amp;gt;PlayAs&amp;lt;/tt&amp;gt; action takes arguments for &amp;lt;tt&amp;gt;mode&amp;lt;/tt&amp;gt; (source or group of related sources) and a mode-specific &amp;lt;tt&amp;gt;command&amp;lt;/tt&amp;gt;.  Some standard modes and commands are listed below; other manufacturer-specific options are possible.&lt;br /&gt;
&lt;br /&gt;
=== Playlist ===&lt;br /&gt;
The &amp;lt;tt&amp;gt;&amp;quot;playlist&amp;quot;&amp;lt;/tt&amp;gt; mode supports the following commands:&lt;br /&gt;
* &amp;lt;tt&amp;gt;id=[track_id]&amp;lt;/tt&amp;gt; - Halt playback of any current track and switch to the track with the specified id. Returns a &amp;lt;tt&amp;gt;800&amp;lt;/tt&amp;gt; fault code if &amp;lt;tt&amp;gt;[track_id]&amp;lt;/tt&amp;gt; is not valid.&lt;br /&gt;
* &amp;lt;tt&amp;gt;index=[playlist_index]&amp;lt;/tt&amp;gt; - Halt playback of the current track and switch to the track with the specified index. Returns a &amp;lt;tt&amp;gt;802&amp;lt;/tt&amp;gt; fault code if the index is beyond the end of the playlist.&lt;br /&gt;
&lt;br /&gt;
=== Radio ===&lt;br /&gt;
The &amp;lt;tt&amp;gt;&amp;quot;radio&amp;quot;&amp;lt;/tt&amp;gt; mode supports the following command:&lt;br /&gt;
* &amp;lt;tt&amp;gt;id=[preset_id]&amp;lt;/tt&amp;gt; – Start playing the specified preset.  Returns a &amp;lt;tt&amp;gt;800&amp;lt;/tt&amp;gt; fault code if &amp;lt;tt&amp;gt;[preset_id]&amp;lt;/tt&amp;gt; does not match a current preset&lt;br /&gt;
&lt;br /&gt;
=== Receiver ===&lt;br /&gt;
The &amp;lt;tt&amp;gt;&amp;quot;receiver&amp;quot;&amp;lt;/tt&amp;gt; mode supports the following command:&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
    {&lt;br /&gt;
        &amp;quot;url&amp;quot;: &amp;quot;[sender_url]&amp;quot;,&lt;br /&gt;
        &amp;quot;metadata&amp;quot;: &amp;quot;[openhome_sender_metadata]&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
and will start playing the same content as the device that either hosts the &amp;lt;tt&amp;gt;ohu&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;ohm&amp;lt;/tt&amp;gt; sender or matches the zone in the &amp;lt;tt&amp;gt;ohz&amp;lt;/tt&amp;gt; url.&lt;br /&gt;
&lt;br /&gt;
=== Single ===&lt;br /&gt;
The &amp;lt;tt&amp;gt;&amp;quot;single&amp;quot;&amp;lt;/tt&amp;gt; mode supports the following command&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
    {&lt;br /&gt;
        &amp;quot;url&amp;quot;: &amp;quot;[track_url]&amp;quot;,&lt;br /&gt;
        &amp;quot;metadata&amp;quot;: &amp;quot;[openhome_metadata]&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
and will start playing &amp;lt;tt&amp;gt;[track_url]&amp;lt;/tt&amp;gt;, reporting the specified metadata.  When the track completes, it will be queued again then &amp;lt;tt&amp;gt;TransportState&amp;lt;/tt&amp;gt; will change to &amp;lt;tt&amp;gt;Stopped&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== External ===&lt;br /&gt;
The &amp;lt;tt&amp;gt;&amp;quot;external&amp;quot;&amp;lt;/tt&amp;gt; mode supports the following command:&lt;br /&gt;
* &amp;lt;tt&amp;gt;[system_name]&amp;lt;/tt&amp;gt; – activate the source with whose system name matches &amp;lt;tt&amp;gt;[system_name]&amp;lt;/tt&amp;gt; and start playing.&lt;br /&gt;
&lt;br /&gt;
=== UpnpAv ===&lt;br /&gt;
The &amp;lt;tt&amp;gt;&amp;quot;upnpav&amp;quot;&amp;lt;/tt&amp;gt; mode supports the following command:&lt;br /&gt;
* &amp;lt;tt&amp;gt;[blank]&amp;lt;/tt&amp;gt; – Start playing the last uri set via &amp;lt;tt&amp;gt;AVTransport.SetAVTransportUri&amp;lt;/tt&amp;gt;.  Activates the source but leaves transport state as &amp;lt;tt&amp;gt;STOPPED&amp;lt;/tt&amp;gt; if no uri is set.&lt;/div&gt;</summary>
		<author><name>Simonc</name></author>	</entry>

	</feed>