data: Use '\r\n' instead of '\n' in XML files
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Mon, 13 Sep 2010 13:09:03 +0000 (16:09 +0300)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Mon, 13 Sep 2010 13:09:03 +0000 (16:09 +0300)
Some UPnP devices in the market are apparently unable to use the unix
newline charachter so we better provide the XML files in DOS format.

data/xml/AVTransport2.xml
data/xml/ConnectionManager.xml
data/xml/ContentDirectory.xml
data/xml/Makefile.am
data/xml/MediaRenderer2.xml
data/xml/MediaServer2.xml
data/xml/RenderingControl2.xml
data/xml/X_MS_MediaReceiverRegistrar1.xml

index a798513..ab2c596 100644 (file)
-<?xml version="1.0"?>
-<!--============================================================
-Title: UPnP AV AV-Transport Service (AVT) Template
-
-Purpose:
-To identify the required/optional actions and state variables
-and the required allowed values defined by this service type.
-
-Note:
-This file uses tabs (not spaces) for block indentation.
-Any updates to this file should maintain this convention.
-This includes disabling any automatic tab-to-space conversion
-feature provided by your editor.
-================================================================-->
-<scpd>
-       <serviceStateTable>
-               <stateVariable>
-                       <name>TransportState</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-                       <allowedValueList>
-                               <allowedValue>STOPPED</allowedValue>
-                               <allowedValue>PLAYING</allowedValue>
-                       </allowedValueList>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>TransportStatus</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-                       <allowedValueList>
-                               <allowedValue>OK</allowedValue>
-                               <allowedValue>ERROR_OCCURRED</allowedValue>
-                       </allowedValueList>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>CurrentMediaCategory</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-                       <allowedValueList>
-                               <allowedValue>NO_MEDIA</allowedValue>
-                               <allowedValue>TRACK_AWARE</allowedValue>
-                               <allowedValue>TRACK_UNAWARE</allowedValue>
-                       </allowedValueList>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>PlaybackStorageMedium</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>RecordStorageMedium</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>PossiblePlaybackStorageMedia</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>PossibleRecordStorageMedia</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>CurrentPlayMode</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-                       <allowedValueList>
-                               <allowedValue>NORMAL</allowedValue>
-                       </allowedValueList>
-                       <defaultValue>NORMAL</defaultValue>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>TransportPlaySpeed</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-                       <allowedValueList>
-                               <allowedValue>1</allowedValue>
-                       </allowedValueList>
-                       <defaultValue>1</defaultValue>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>RecordMediumWriteStatus</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>CurrentRecordQualityMode</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>PossibleRecordQualityModes</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>NumberOfTracks</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>ui4</dataType>
-                       <allowedValueRange>
-                               <minimum>0</minimum>
-                       </allowedValueRange>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>CurrentTrack</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>ui4</dataType>
-                       <allowedValueRange>
-                               <minimum>0</minimum>
-                               <step>1</step>
-                       </allowedValueRange>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>CurrentTrackDuration</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>CurrentMediaDuration</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>CurrentTrackMetaData</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>CurrentTrackURI</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>AVTransportURI</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>AVTransportURIMetaData</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>NextAVTransportURI</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>NextAVTransportURIMetaData</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>RelativeTimePosition</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>AbsoluteTimePosition</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>RelativeCounterPosition</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>i4</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>AbsoluteCounterPosition</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>i4</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>LastChange</name>
-                       <sendEventsAttribute>yes</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>A_ARG_TYPE_SeekMode</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-                       <allowedValueList>
-                               <allowedValue>TRACK_NR</allowedValue>
-                       </allowedValueList>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>A_ARG_TYPE_SeekTarget</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>A_ARG_TYPE_InstanceID</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>ui4</dataType>
-               </stateVariable>
-       </serviceStateTable>
-
-       <actionList>
-               <action>
-                       <name>SetAVTransportURI</name>
-                       <argumentList>
-                               <argument>
-                                       <name>InstanceID</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>CurrentURI</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>AVTransportURI</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>CurrentURIMetaData</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>AVTransportURIMetaData</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <name>GetMediaInfo</name>
-                       <argumentList>
-                               <argument>
-                                       <name>InstanceID</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>NrTracks</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>NumberOfTracks</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>MediaDuration</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>CurrentMediaDuration</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>CurrentURI</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>AVTransportURI</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>CurrentURIMetaData</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>AVTransportURIMetaData</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>NextURI</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>NextAVTransportURI</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>NextURIMetaData</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>NextAVTransportURIMetaData</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>PlayMedium</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>PlaybackStorageMedium</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>RecordMedium</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>RecordStorageMedium</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>WriteStatus</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>RecordMediumWriteStatus</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <name>GetMediaInfo_Ext</name>
-                       <argumentList>
-                               <argument>
-                                       <name>InstanceID</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>CurrentType</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>CurrentMediaCategory</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>NrTracks</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>NumberOfTracks</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>MediaDuration</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>CurrentMediaDuration</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>CurrentURI</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>AVTransportURI</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>CurrentURIMetaData</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>AVTransportURIMetaData</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>NextURI</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>NextAVTransportURI</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>NextURIMetaData</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>NextAVTransportURIMetaData</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>PlayMedium</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>PlaybackStorageMedium</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>RecordMedium</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>RecordStorageMedium</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>WriteStatus</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>RecordMediumWriteStatus</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <name>GetTransportInfo</name>
-                       <argumentList>
-                               <argument>
-                                       <name>InstanceID</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>CurrentTransportState</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>TransportState</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>CurrentTransportStatus</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>TransportStatus</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>CurrentSpeed</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>TransportPlaySpeed</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <name>GetPositionInfo</name>
-                       <argumentList>
-                               <argument>
-                                       <name>InstanceID</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>Track</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>CurrentTrack</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>TrackDuration</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>CurrentTrackDuration</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>TrackMetaData</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>CurrentTrackMetaData</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>TrackURI</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>CurrentTrackURI</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>RelTime</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>RelativeTimePosition</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>AbsTime</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>AbsoluteTimePosition</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>RelCount</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>RelativeCounterPosition</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>AbsCount</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>AbsoluteCounterPosition</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <name>GetDeviceCapabilities</name>
-                       <argumentList>
-                               <argument>
-                                       <name>InstanceID</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>PlayMedia</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>PossiblePlaybackStorageMedia</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>RecMedia</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>PossibleRecordStorageMedia</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>RecQualityModes</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>PossibleRecordQualityModes</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <name>GetTransportSettings</name>
-                       <argumentList>
-                               <argument>
-                                       <name>InstanceID</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>PlayMode</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>CurrentPlayMode</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>RecQualityMode</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>CurrentRecordQualityMode</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <name>Stop</name>
-                       <argumentList>
-                               <argument>
-                                       <name>InstanceID</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <name>Play</name>
-                       <argumentList>
-                               <argument>
-                                       <name>InstanceID</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>Speed</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>TransportPlaySpeed</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <Optional/>
-                       <name>Pause</name>
-                       <argumentList>
-                               <argument>
-                                       <name>InstanceID</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <name>Seek</name>
-                       <argumentList>
-                               <argument>
-                                       <name>InstanceID</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>Unit</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_SeekMode</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>Target</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_SeekTarget</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <name>Next</name>
-                       <argumentList>
-                               <argument>
-                                       <name>InstanceID</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <name>Previous</name>
-                       <argumentList>
-                               <argument>
-                                       <name>InstanceID</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-       </actionList>
-</scpd>
-
+<?xml version="1.0"?>\r
+<!--============================================================\r
+Title: UPnP AV AV-Transport Service (AVT) Template\r
+\r
+Purpose:\r
+To identify the required/optional actions and state variables\r
+and the required allowed values defined by this service type.\r
+\r
+Note:\r
+This file uses tabs (not spaces) for block indentation.\r
+Any updates to this file should maintain this convention.\r
+This includes disabling any automatic tab-to-space conversion\r
+feature provided by your editor.\r
+================================================================-->\r
+<scpd>\r
+       <serviceStateTable>\r
+               <stateVariable>\r
+                       <name>TransportState</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+                       <allowedValueList>\r
+                               <allowedValue>STOPPED</allowedValue>\r
+                               <allowedValue>PLAYING</allowedValue>\r
+                       </allowedValueList>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>TransportStatus</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+                       <allowedValueList>\r
+                               <allowedValue>OK</allowedValue>\r
+                               <allowedValue>ERROR_OCCURRED</allowedValue>\r
+                       </allowedValueList>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>CurrentMediaCategory</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+                       <allowedValueList>\r
+                               <allowedValue>NO_MEDIA</allowedValue>\r
+                               <allowedValue>TRACK_AWARE</allowedValue>\r
+                               <allowedValue>TRACK_UNAWARE</allowedValue>\r
+                       </allowedValueList>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>PlaybackStorageMedium</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>RecordStorageMedium</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>PossiblePlaybackStorageMedia</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>PossibleRecordStorageMedia</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>CurrentPlayMode</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+                       <allowedValueList>\r
+                               <allowedValue>NORMAL</allowedValue>\r
+                       </allowedValueList>\r
+                       <defaultValue>NORMAL</defaultValue>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>TransportPlaySpeed</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+                       <allowedValueList>\r
+                               <allowedValue>1</allowedValue>\r
+                       </allowedValueList>\r
+                       <defaultValue>1</defaultValue>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>RecordMediumWriteStatus</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>CurrentRecordQualityMode</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>PossibleRecordQualityModes</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>NumberOfTracks</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>ui4</dataType>\r
+                       <allowedValueRange>\r
+                               <minimum>0</minimum>\r
+                       </allowedValueRange>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>CurrentTrack</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>ui4</dataType>\r
+                       <allowedValueRange>\r
+                               <minimum>0</minimum>\r
+                               <step>1</step>\r
+                       </allowedValueRange>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>CurrentTrackDuration</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>CurrentMediaDuration</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>CurrentTrackMetaData</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>CurrentTrackURI</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>AVTransportURI</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>AVTransportURIMetaData</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>NextAVTransportURI</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>NextAVTransportURIMetaData</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>RelativeTimePosition</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>AbsoluteTimePosition</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>RelativeCounterPosition</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>i4</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>AbsoluteCounterPosition</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>i4</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>LastChange</name>\r
+                       <sendEventsAttribute>yes</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>A_ARG_TYPE_SeekMode</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+                       <allowedValueList>\r
+                               <allowedValue>TRACK_NR</allowedValue>\r
+                       </allowedValueList>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>A_ARG_TYPE_SeekTarget</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>A_ARG_TYPE_InstanceID</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>ui4</dataType>\r
+               </stateVariable>\r
+       </serviceStateTable>\r
+\r
+       <actionList>\r
+               <action>\r
+                       <name>SetAVTransportURI</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>InstanceID</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>CurrentURI</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>AVTransportURI</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>CurrentURIMetaData</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>AVTransportURIMetaData</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <name>GetMediaInfo</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>InstanceID</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>NrTracks</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>NumberOfTracks</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>MediaDuration</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>CurrentMediaDuration</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>CurrentURI</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>AVTransportURI</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>CurrentURIMetaData</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>AVTransportURIMetaData</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>NextURI</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>NextAVTransportURI</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>NextURIMetaData</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>NextAVTransportURIMetaData</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>PlayMedium</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>PlaybackStorageMedium</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>RecordMedium</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>RecordStorageMedium</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>WriteStatus</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>RecordMediumWriteStatus</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <name>GetMediaInfo_Ext</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>InstanceID</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>CurrentType</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>CurrentMediaCategory</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>NrTracks</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>NumberOfTracks</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>MediaDuration</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>CurrentMediaDuration</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>CurrentURI</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>AVTransportURI</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>CurrentURIMetaData</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>AVTransportURIMetaData</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>NextURI</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>NextAVTransportURI</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>NextURIMetaData</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>NextAVTransportURIMetaData</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>PlayMedium</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>PlaybackStorageMedium</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>RecordMedium</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>RecordStorageMedium</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>WriteStatus</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>RecordMediumWriteStatus</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <name>GetTransportInfo</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>InstanceID</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>CurrentTransportState</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>TransportState</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>CurrentTransportStatus</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>TransportStatus</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>CurrentSpeed</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>TransportPlaySpeed</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <name>GetPositionInfo</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>InstanceID</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>Track</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>CurrentTrack</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>TrackDuration</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>CurrentTrackDuration</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>TrackMetaData</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>CurrentTrackMetaData</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>TrackURI</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>CurrentTrackURI</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>RelTime</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>RelativeTimePosition</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>AbsTime</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>AbsoluteTimePosition</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>RelCount</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>RelativeCounterPosition</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>AbsCount</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>AbsoluteCounterPosition</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <name>GetDeviceCapabilities</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>InstanceID</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>PlayMedia</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>PossiblePlaybackStorageMedia</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>RecMedia</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>PossibleRecordStorageMedia</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>RecQualityModes</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>PossibleRecordQualityModes</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <name>GetTransportSettings</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>InstanceID</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>PlayMode</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>CurrentPlayMode</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>RecQualityMode</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>CurrentRecordQualityMode</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <name>Stop</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>InstanceID</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <name>Play</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>InstanceID</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>Speed</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>TransportPlaySpeed</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <Optional/>\r
+                       <name>Pause</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>InstanceID</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <name>Seek</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>InstanceID</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>Unit</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_SeekMode</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>Target</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_SeekTarget</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <name>Next</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>InstanceID</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <name>Previous</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>InstanceID</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+       </actionList>\r
+</scpd>\r
+\r
index 2059744..82d316f 100644 (file)
-<?xml version="1.0"?>
-<!--============================================================
-Title: UPnP AV Connection Manager Service (CM) Template
-
-Purpose:
-To identify the required/optional actions and state variables
-and the required allowed values defined by this service type.
-
-Note:
-This file uses tabs (not spaces) for block indentation.
-Any updates to this file should maintain this convention.
-This includes disabling any automatic tab-to-space conversion
-feature provided by your editor.
-================================================================-->
-<scpd xmlns="urn:schemas-upnp-org:service-1-0">
-       <specVersion>
-               <major>1</major>
-               <minor>0</minor>
-       </specVersion>
-       <serviceStateTable>
-               <stateVariable>
-                       <name>SourceProtocolInfo</name>
-                       <sendEventsAttribute>yes</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>SinkProtocolInfo</name>
-                       <sendEventsAttribute>yes</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>CurrentConnectionIDs</name>
-                       <sendEventsAttribute>yes</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>A_ARG_TYPE_ConnectionStatus</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-                       <allowedValueList>
-                               <allowedValue>OK</allowedValue>
-                               <allowedValue>ContentFormatMismatch</allowedValue>
-                               <allowedValue>InsufficientBandwidth</allowedValue>
-                               <allowedValue>UnreliableChannel</allowedValue>
-                               <allowedValue>Unknown</allowedValue>
-                       </allowedValueList>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>A_ARG_TYPE_ConnectionManager</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>A_ARG_TYPE_Direction</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-                       <allowedValueList>
-                               <allowedValue>Input</allowedValue>
-                               <allowedValue>Output</allowedValue>
-                       </allowedValueList>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>A_ARG_TYPE_ProtocolInfo</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>A_ARG_TYPE_ConnectionID</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>i4</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>A_ARG_TYPE_AVTransportID</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>i4</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>A_ARG_TYPE_RcsID</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>i4</dataType>
-               </stateVariable>
-       </serviceStateTable>
-
-       <actionList>
-               <action>
-                       <name>GetProtocolInfo</name>
-                       <argumentList>
-                               <argument>
-                                       <name>Source</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>SourceProtocolInfo</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>Sink</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>SinkProtocolInfo</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <name>GetCurrentConnectionIDs</name>
-                       <argumentList>
-                               <argument>
-                                       <name>ConnectionIDs</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>CurrentConnectionIDs</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <name>GetCurrentConnectionInfo</name>
-                       <argumentList>
-                               <argument>
-                                       <name>ConnectionID</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_ConnectionID</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>RcsID</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_RcsID</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>AVTransportID</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_AVTransportID</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>ProtocolInfo</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_ProtocolInfo</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>PeerConnectionManager</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_ConnectionManager</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>PeerConnectionID</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_ConnectionID</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>Direction</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_Direction</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>Status</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_ConnectionStatus</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-       </actionList>
-</scpd>
+<?xml version="1.0"?>\r
+<!--============================================================\r
+Title: UPnP AV Connection Manager Service (CM) Template\r
+\r
+Purpose:\r
+To identify the required/optional actions and state variables\r
+and the required allowed values defined by this service type.\r
+\r
+Note:\r
+This file uses tabs (not spaces) for block indentation.\r
+Any updates to this file should maintain this convention.\r
+This includes disabling any automatic tab-to-space conversion\r
+feature provided by your editor.\r
+================================================================-->\r
+<scpd xmlns="urn:schemas-upnp-org:service-1-0">\r
+       <specVersion>\r
+               <major>1</major>\r
+               <minor>0</minor>\r
+       </specVersion>\r
+       <serviceStateTable>\r
+               <stateVariable>\r
+                       <name>SourceProtocolInfo</name>\r
+                       <sendEventsAttribute>yes</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>SinkProtocolInfo</name>\r
+                       <sendEventsAttribute>yes</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>CurrentConnectionIDs</name>\r
+                       <sendEventsAttribute>yes</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>A_ARG_TYPE_ConnectionStatus</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+                       <allowedValueList>\r
+                               <allowedValue>OK</allowedValue>\r
+                               <allowedValue>ContentFormatMismatch</allowedValue>\r
+                               <allowedValue>InsufficientBandwidth</allowedValue>\r
+                               <allowedValue>UnreliableChannel</allowedValue>\r
+                               <allowedValue>Unknown</allowedValue>\r
+                       </allowedValueList>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>A_ARG_TYPE_ConnectionManager</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>A_ARG_TYPE_Direction</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+                       <allowedValueList>\r
+                               <allowedValue>Input</allowedValue>\r
+                               <allowedValue>Output</allowedValue>\r
+                       </allowedValueList>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>A_ARG_TYPE_ProtocolInfo</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>A_ARG_TYPE_ConnectionID</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>i4</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>A_ARG_TYPE_AVTransportID</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>i4</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>A_ARG_TYPE_RcsID</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>i4</dataType>\r
+               </stateVariable>\r
+       </serviceStateTable>\r
+\r
+       <actionList>\r
+               <action>\r
+                       <name>GetProtocolInfo</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>Source</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>SourceProtocolInfo</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>Sink</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>SinkProtocolInfo</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <name>GetCurrentConnectionIDs</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>ConnectionIDs</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>CurrentConnectionIDs</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <name>GetCurrentConnectionInfo</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>ConnectionID</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_ConnectionID</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>RcsID</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_RcsID</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>AVTransportID</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_AVTransportID</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>ProtocolInfo</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_ProtocolInfo</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>PeerConnectionManager</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_ConnectionManager</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>PeerConnectionID</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_ConnectionID</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>Direction</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_Direction</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>Status</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_ConnectionStatus</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+       </actionList>\r
+</scpd>\r
index f77abed..5f738c6 100644 (file)
-<?xml version="1.0"?>
-<!--============================================================
-Title: UPnP AV Content Directory Service (CDS) Template
-
-Purpose:
-To identify the required/optional actions and state variables
-and the required allowed values defined by this service type.
-
-Note:
-This file uses tabs (not spaces) for block indentation.
-Any updates to this file should maintain this convention.
-This includes disabling any automatic tab-to-space conversion
-feature provided by your editor.
-================================================================-->
-<scpd xmlns="urn:schemas-upnp-org:service-1-0">
-       <specVersion>
-               <major>1</major>
-               <minor>0</minor>
-       </specVersion>
-       <serviceStateTable>
-               <stateVariable>
-                       <name>SearchCapabilities</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>SortCapabilities</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>SystemUpdateID</name>
-                       <sendEventsAttribute>yes</sendEventsAttribute>
-                       <dataType>ui4</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <Optional/>
-                       <name>ContainerUpdateIDs</name>
-                       <sendEventsAttribute>yes</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>FeatureList</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>A_ARG_TYPE_ObjectID</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>A_ARG_TYPE_Result</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>A_ARG_TYPE_BrowseFlag</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-                       <allowedValueList>
-                               <allowedValue>BrowseMetadata</allowedValue>
-                               <allowedValue>BrowseDirectChildren</allowedValue>
-                       </allowedValueList>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>A_ARG_TYPE_Filter</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>A_ARG_TYPE_SortCriteria</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>A_ARG_TYPE_Index</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>ui4</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>A_ARG_TYPE_Count</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>ui4</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>A_ARG_TYPE_UpdateID</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>ui4</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <Optional/>
-                       <name>A_ARG_TYPE_SearchCriteria</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <Optional/>
-                       <name>A_ARG_TYPE_URI</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>uri</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <Optional/>
-                       <name>A_ARG_TYPE_TransferID</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>ui4</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <Optional/>
-                       <name>TransferIDs</name>
-                       <sendEventsAttribute>yes</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <Optional/>
-                       <name>A_ARG_TYPE_TransferStatus</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-                       <allowedValueList>
-                               <allowedValue>COMPLETED</allowedValue>
-                               <allowedValue>ERROR</allowedValue>
-                               <allowedValue>IN_PROGRESS</allowedValue>
-                               <allowedValue>STOPPED</allowedValue>
-                       </allowedValueList>
-               </stateVariable>
-
-               <stateVariable>
-                       <Optional/>
-                       <name>A_ARG_TYPE_TransferLength</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <Optional/>
-                       <name>A_ARG_TYPE_TransferTotal</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-       </serviceStateTable>
-
-       <actionList>
-               <action>
-                       <name>GetSearchCapabilities</name>
-                       <argumentList>
-                               <argument>
-                                       <name>SearchCaps</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>SearchCapabilities</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <name>GetSortCapabilities</name>
-                       <argumentList>
-                               <argument>
-                                       <name>SortCaps</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>SortCapabilities</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <name>GetSystemUpdateID</name>
-                       <argumentList>
-                               <argument>
-                                       <name>Id</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>SystemUpdateID</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <name>GetFeatureList</name>
-                       <argumentList>
-                               <argument>
-                                       <name>FeatureList</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>FeatureList</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-
-               <action>
-                       <name>Browse</name>
-                       <argumentList>
-                               <argument>
-                                       <name>ObjectID</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_ObjectID</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>BrowseFlag</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_BrowseFlag</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>Filter</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_Filter</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>StartingIndex</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_Index</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>RequestedCount</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_Count</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>SortCriteria</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_SortCriteria</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>Result</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_Result</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>NumberReturned</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_Count</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>TotalMatches</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_Count</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>UpdateID</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_UpdateID</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <Optional/>
-                       <name>Search</name>
-                       <argumentList>
-                               <argument>
-                                       <name>ContainerID</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_ObjectID</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>SearchCriteria</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_SearchCriteria</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>Filter</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_Filter</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>StartingIndex</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_Index</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>RequestedCount</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_Count</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>SortCriteria</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_SortCriteria</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>Result</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_Result</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>NumberReturned</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_Count</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>TotalMatches</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_Count</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>UpdateID</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_UpdateID</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <Optional/>
-                       <name>CreateObject</name>
-                       <argumentList>
-                               <argument>
-                                       <name>ContainerID</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_ObjectID</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>Elements</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_Result</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>ObjectID</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_ObjectID</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>Result</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_Result</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <Optional/>
-                       <name>ImportResource</name>
-                       <argumentList>
-                               <argument>
-                                       <name>SourceURI</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_URI</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>DestinationURI</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_URI</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>TransferID</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_TransferID</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <Optional/>
-                       <name>GetTransferProgress</name>
-                       <argumentList>
-                               <argument>
-                                       <name>TransferID</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_TransferID</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>TransferStatus</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_TransferStatus</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>TransferLength</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_TransferLength</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>TransferTotal</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_TransferTotal</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <Optional/>
-                       <name>StopTransferResource</name>
-                       <argumentList>
-                               <argument>
-                                       <name>TransferID</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_TransferID</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-       </actionList>
-</scpd>
+<?xml version="1.0"?>\r
+<!--============================================================\r
+Title: UPnP AV Content Directory Service (CDS) Template\r
+\r
+Purpose:\r
+To identify the required/optional actions and state variables\r
+and the required allowed values defined by this service type.\r
+\r
+Note:\r
+This file uses tabs (not spaces) for block indentation.\r
+Any updates to this file should maintain this convention.\r
+This includes disabling any automatic tab-to-space conversion\r
+feature provided by your editor.\r
+================================================================-->\r
+<scpd xmlns="urn:schemas-upnp-org:service-1-0">\r
+       <specVersion>\r
+               <major>1</major>\r
+               <minor>0</minor>\r
+       </specVersion>\r
+       <serviceStateTable>\r
+               <stateVariable>\r
+                       <name>SearchCapabilities</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>SortCapabilities</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>SystemUpdateID</name>\r
+                       <sendEventsAttribute>yes</sendEventsAttribute>\r
+                       <dataType>ui4</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <Optional/>\r
+                       <name>ContainerUpdateIDs</name>\r
+                       <sendEventsAttribute>yes</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>FeatureList</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>A_ARG_TYPE_ObjectID</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>A_ARG_TYPE_Result</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>A_ARG_TYPE_BrowseFlag</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+                       <allowedValueList>\r
+                               <allowedValue>BrowseMetadata</allowedValue>\r
+                               <allowedValue>BrowseDirectChildren</allowedValue>\r
+                       </allowedValueList>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>A_ARG_TYPE_Filter</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>A_ARG_TYPE_SortCriteria</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>A_ARG_TYPE_Index</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>ui4</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>A_ARG_TYPE_Count</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>ui4</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>A_ARG_TYPE_UpdateID</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>ui4</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <Optional/>\r
+                       <name>A_ARG_TYPE_SearchCriteria</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <Optional/>\r
+                       <name>A_ARG_TYPE_URI</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>uri</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <Optional/>\r
+                       <name>A_ARG_TYPE_TransferID</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>ui4</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <Optional/>\r
+                       <name>TransferIDs</name>\r
+                       <sendEventsAttribute>yes</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <Optional/>\r
+                       <name>A_ARG_TYPE_TransferStatus</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+                       <allowedValueList>\r
+                               <allowedValue>COMPLETED</allowedValue>\r
+                               <allowedValue>ERROR</allowedValue>\r
+                               <allowedValue>IN_PROGRESS</allowedValue>\r
+                               <allowedValue>STOPPED</allowedValue>\r
+                       </allowedValueList>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <Optional/>\r
+                       <name>A_ARG_TYPE_TransferLength</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <Optional/>\r
+                       <name>A_ARG_TYPE_TransferTotal</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+       </serviceStateTable>\r
+\r
+       <actionList>\r
+               <action>\r
+                       <name>GetSearchCapabilities</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>SearchCaps</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>SearchCapabilities</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <name>GetSortCapabilities</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>SortCaps</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>SortCapabilities</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <name>GetSystemUpdateID</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>Id</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>SystemUpdateID</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <name>GetFeatureList</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>FeatureList</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>FeatureList</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+\r
+               <action>\r
+                       <name>Browse</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>ObjectID</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_ObjectID</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>BrowseFlag</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_BrowseFlag</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>Filter</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_Filter</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>StartingIndex</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_Index</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>RequestedCount</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_Count</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>SortCriteria</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_SortCriteria</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>Result</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_Result</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>NumberReturned</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_Count</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>TotalMatches</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_Count</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>UpdateID</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_UpdateID</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <Optional/>\r
+                       <name>Search</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>ContainerID</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_ObjectID</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>SearchCriteria</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_SearchCriteria</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>Filter</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_Filter</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>StartingIndex</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_Index</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>RequestedCount</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_Count</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>SortCriteria</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_SortCriteria</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>Result</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_Result</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>NumberReturned</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_Count</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>TotalMatches</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_Count</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>UpdateID</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_UpdateID</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <Optional/>\r
+                       <name>CreateObject</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>ContainerID</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_ObjectID</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>Elements</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_Result</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>ObjectID</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_ObjectID</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>Result</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_Result</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <Optional/>\r
+                       <name>ImportResource</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>SourceURI</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_URI</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>DestinationURI</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_URI</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>TransferID</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_TransferID</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <Optional/>\r
+                       <name>GetTransferProgress</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>TransferID</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_TransferID</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>TransferStatus</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_TransferStatus</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>TransferLength</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_TransferLength</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>TransferTotal</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_TransferTotal</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <Optional/>\r
+                       <name>StopTransferResource</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>TransferID</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_TransferID</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+       </actionList>\r
+</scpd>\r
index 3963648..f682cdf 100644 (file)
@@ -1,13 +1,13 @@
-xml_DATA = MediaServer2.xml \
-          MediaRenderer2.xml \
-          ContentDirectory.xml \
-          ConnectionManager.xml \
-          AVTransport2.xml \
-          RenderingControl2.xml \
-          X_MS_MediaReceiverRegistrar1.xml
-
-xmldir = $(datadir)/rygel/xml
-
-EXTRA_DIST = $(xml_DATA)
-
-MAINTAINERCLEANFILES = Makefile.in
+xml_DATA = MediaServer2.xml \\r
+          MediaRenderer2.xml \\r
+          ContentDirectory.xml \\r
+          ConnectionManager.xml \\r
+          AVTransport2.xml \\r
+          RenderingControl2.xml \\r
+          X_MS_MediaReceiverRegistrar1.xml\r
+\r
+xmldir = $(datadir)/rygel/xml\r
+\r
+EXTRA_DIST = $(xml_DATA)\r
+\r
+MAINTAINERCLEANFILES = Makefile.in\r
index f363be5..fc2c1fb 100644 (file)
@@ -1,19 +1,19 @@
-<?xml version="1.0"?>
-<root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:dlna="urn:schemas-dlna-org:device-1-0">
-  <specVersion>
-    <major>2</major>
-    <minor>0</minor>
-  </specVersion>
-  <device>
-    <deviceType>urn:schemas-upnp-org:device:MediaRenderer:2</deviceType>
-    <friendlyName></friendlyName>
-    <manufacturer>Rygel Developers</manufacturer>
-    <manufacturerURL>http://live.gnome.org/Rygel</manufacturerURL>
-    <modelName>Rygel</modelName>
-    <modelNumber>0.1</modelNumber>
-    <modelURL>http://live.gnome.org/Rygel</modelURL>
-    <UDN></UDN>
-    <serviceList>
-    </serviceList>
-  </device>
-</root>
+<?xml version="1.0"?>\r
+<root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:dlna="urn:schemas-dlna-org:device-1-0">\r
+  <specVersion>\r
+    <major>2</major>\r
+    <minor>0</minor>\r
+  </specVersion>\r
+  <device>\r
+    <deviceType>urn:schemas-upnp-org:device:MediaRenderer:2</deviceType>\r
+    <friendlyName></friendlyName>\r
+    <manufacturer>Rygel Developers</manufacturer>\r
+    <manufacturerURL>http://live.gnome.org/Rygel</manufacturerURL>\r
+    <modelName>Rygel</modelName>\r
+    <modelNumber>0.1</modelNumber>\r
+    <modelURL>http://live.gnome.org/Rygel</modelURL>\r
+    <UDN></UDN>\r
+    <serviceList>\r
+    </serviceList>\r
+  </device>\r
+</root>\r
index 95021f8..2740e15 100644 (file)
@@ -1,22 +1,22 @@
-<?xml version="1.0"?>
-<root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:dlna="urn:schemas-dlna-org:device-1-0">
-<specVersion>
-<major>1</major>
-<minor>0</minor>
-</specVersion>
-<device>
-<deviceType>urn:schemas-upnp-org:device:MediaServer:2</deviceType>
-<UDN></UDN>
-<friendlyName></friendlyName>
-<manufacturer>Rygel Developers.</manufacturer>
-<manufacturerURL>http://live.gnome.org/Rygel</manufacturerURL>
-<modelName>Rygel</modelName>
-<modelNumber>0.1</modelNumber>
-<serialNumber>0000001</serialNumber>
-<serviceList>
-</serviceList>
-<dlna:X_DLNADOC>DMS-1.50</dlna:X_DLNADOC>
-<dlna:X_DLNADOC>M-DMS-1.50</dlna:X_DLNADOC>
-<dlna:X_DLNACAP>av-upload,image-upload,audio-upload</dlna:X_DLNACAP>
-</device>
-</root>
+<?xml version="1.0"?>\r
+<root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:dlna="urn:schemas-dlna-org:device-1-0">\r
+<specVersion>\r
+<major>1</major>\r
+<minor>0</minor>\r
+</specVersion>\r
+<device>\r
+<deviceType>urn:schemas-upnp-org:device:MediaServer:2</deviceType>\r
+<UDN></UDN>\r
+<friendlyName></friendlyName>\r
+<manufacturer>Rygel Developers.</manufacturer>\r
+<manufacturerURL>http://live.gnome.org/Rygel</manufacturerURL>\r
+<modelName>Rygel</modelName>\r
+<modelNumber>0.1</modelNumber>\r
+<serialNumber>0000001</serialNumber>\r
+<serviceList>\r
+</serviceList>\r
+<dlna:X_DLNADOC>DMS-1.50</dlna:X_DLNADOC>\r
+<dlna:X_DLNADOC>M-DMS-1.50</dlna:X_DLNADOC>\r
+<dlna:X_DLNACAP>av-upload,image-upload,audio-upload</dlna:X_DLNACAP>\r
+</device>\r
+</root>\r
index 62279b9..bdb36f4 100644 (file)
-<?xml version="1.0"?>
-<!--============================================================
-Title: UPnP AV Rendering Control Service (RCS) Template
-
-Purpose:
-To identify the required/optional actions and state variables
-and the required allowed values defined by this service type.
-
-Note:
-This file uses tabs (not spaces) for block indentation.
-Any updates to this file should maintain this convention.
-This includes disabling any automatic tab-to-space conversion
-feature provided by your editor.
-================================================================-->
-<scpd>
-       <serviceStateTable>
-               <stateVariable>
-                       <name>LastChange</name>
-                       <sendEventsAttribute>yes</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>PresetNameList</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <Optional/>
-                       <name>Mute</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>boolean</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <Optional/>
-                       <name>Volume</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>ui2</dataType>
-                       <allowedValueRange>
-                               <minimum>0</minimum>
-                               <step>1</step>
-                       </allowedValueRange>
-               </stateVariable>
-
-               <stateVariable>
-                       <Optional/>
-                       <name>A_ARG_TYPE_Channel</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-                       <allowedValueList>
-                               <allowedValue>Master</allowedValue>
-                       </allowedValueList>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>A_ARG_TYPE_InstanceID</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>ui4</dataType>
-               </stateVariable>
-
-               <stateVariable>
-                       <name>A_ARG_TYPE_PresetName</name>
-                       <sendEventsAttribute>no</sendEventsAttribute>
-                       <dataType>string</dataType>
-                       <allowedValueList>
-                               <allowedValue>FactoryDefaults</allowedValue>
-                       </allowedValueList>
-               </stateVariable>
-       </serviceStateTable>
-
-       <actionList>
-               <action>
-                       <name>ListPresets</name>
-                       <argumentList>
-                               <argument>
-                                       <name>InstanceID</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>CurrentPresetNameList</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>PresetNameList</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <name>SelectPreset</name>
-                       <argumentList>
-                               <argument>
-                                       <name>InstanceID</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>PresetName</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_PresetName</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <Optional/>
-                       <name>GetMute</name>
-                       <argumentList>
-                               <argument>
-                                       <name>InstanceID</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>Channel</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>CurrentMute</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>Mute</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <Optional/>
-                       <name>SetMute</name>
-                       <argumentList>
-                               <argument>
-                                       <name>InstanceID</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>Channel</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>DesiredMute</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>Mute</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <Optional/>
-                       <name>GetVolume</name>
-                       <argumentList>
-                               <argument>
-                                       <name>InstanceID</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>Channel</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>CurrentVolume</name>
-                                       <direction>out</direction>
-                                       <relatedStateVariable>Volume</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-
-               <action>
-                       <Optional/>
-                       <name>SetVolume</name>
-                       <argumentList>
-                               <argument>
-                                       <name>InstanceID</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>Channel</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>
-                               </argument>
-                               <argument>
-                                       <name>DesiredVolume</name>
-                                       <direction>in</direction>
-                                       <relatedStateVariable>Volume</relatedStateVariable>
-                               </argument>
-                       </argumentList>
-               </action>
-       </actionList>
-</scpd>
+<?xml version="1.0"?>\r
+<!--============================================================\r
+Title: UPnP AV Rendering Control Service (RCS) Template\r
+\r
+Purpose:\r
+To identify the required/optional actions and state variables\r
+and the required allowed values defined by this service type.\r
+\r
+Note:\r
+This file uses tabs (not spaces) for block indentation.\r
+Any updates to this file should maintain this convention.\r
+This includes disabling any automatic tab-to-space conversion\r
+feature provided by your editor.\r
+================================================================-->\r
+<scpd>\r
+       <serviceStateTable>\r
+               <stateVariable>\r
+                       <name>LastChange</name>\r
+                       <sendEventsAttribute>yes</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>PresetNameList</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <Optional/>\r
+                       <name>Mute</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>boolean</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <Optional/>\r
+                       <name>Volume</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>ui2</dataType>\r
+                       <allowedValueRange>\r
+                               <minimum>0</minimum>\r
+                               <step>1</step>\r
+                       </allowedValueRange>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <Optional/>\r
+                       <name>A_ARG_TYPE_Channel</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+                       <allowedValueList>\r
+                               <allowedValue>Master</allowedValue>\r
+                       </allowedValueList>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>A_ARG_TYPE_InstanceID</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>ui4</dataType>\r
+               </stateVariable>\r
+\r
+               <stateVariable>\r
+                       <name>A_ARG_TYPE_PresetName</name>\r
+                       <sendEventsAttribute>no</sendEventsAttribute>\r
+                       <dataType>string</dataType>\r
+                       <allowedValueList>\r
+                               <allowedValue>FactoryDefaults</allowedValue>\r
+                       </allowedValueList>\r
+               </stateVariable>\r
+       </serviceStateTable>\r
+\r
+       <actionList>\r
+               <action>\r
+                       <name>ListPresets</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>InstanceID</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>CurrentPresetNameList</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>PresetNameList</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <name>SelectPreset</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>InstanceID</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>PresetName</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_PresetName</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <Optional/>\r
+                       <name>GetMute</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>InstanceID</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>Channel</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>CurrentMute</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>Mute</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <Optional/>\r
+                       <name>SetMute</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>InstanceID</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>Channel</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>DesiredMute</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>Mute</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <Optional/>\r
+                       <name>GetVolume</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>InstanceID</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>Channel</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>CurrentVolume</name>\r
+                                       <direction>out</direction>\r
+                                       <relatedStateVariable>Volume</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+\r
+               <action>\r
+                       <Optional/>\r
+                       <name>SetVolume</name>\r
+                       <argumentList>\r
+                               <argument>\r
+                                       <name>InstanceID</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>Channel</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>\r
+                               </argument>\r
+                               <argument>\r
+                                       <name>DesiredVolume</name>\r
+                                       <direction>in</direction>\r
+                                       <relatedStateVariable>Volume</relatedStateVariable>\r
+                               </argument>\r
+                       </argumentList>\r
+               </action>\r
+       </actionList>\r
+</scpd>\r
index c862c1d..2e6b70d 100644 (file)
@@ -1,96 +1,96 @@
-<?xml version="1.0"?>
-<scpd xmlns="urn:schemas-upnp-org:service-1-0">
-    <specVersion>
-        <major>1</major>
-        <minor>0</minor>
-    </specVersion>
-    <actionList>
-        <action>
-            <name>IsAuthorized</name>
-            <argumentList>
-                <argument>
-                    <name>DeviceID</name>
-                    <direction>in</direction>
-                    <relatedStateVariable>A_ARG_TYPE_DeviceID</relatedStateVariable>
-                </argument>
-                <argument>
-                    <name>Result</name>
-                    <direction>out</direction>
-                    <relatedStateVariable>A_ARG_TYPE_Result</relatedStateVariable>
-                </argument>
-            </argumentList>
-        </action>
-        <action>
-            <name>RegisterDevice</name>
-            <argumentList>
-                <argument>
-                    <name>RegistrationReqMsg</name>
-                    <direction>in</direction>
-                    <relatedStateVariable>A_ARG_TYPE_RegistrationReqMsg</relatedStateVariable>
-                </argument>
-                <argument>
-                    <name>RegistrationRespMsg</name>
-                    <direction>out</direction>
-                    <relatedStateVariable>A_ARG_TYPE_RegistrationRespMsg</relatedStateVariable>
-                </argument>
-            </argumentList>
-        </action>
-        <action>
-            <name>IsValidated</name>
-            <argumentList>
-                <argument>
-                    <name>DeviceID</name>
-                    <direction>in</direction>
-                    <relatedStateVariable>A_ARG_TYPE_DeviceID</relatedStateVariable>
-                </argument>
-                <argument>
-                    <name>Result</name>
-                    <direction>out</direction>
-                    <relatedStateVariable>A_ARG_TYPE_Result</relatedStateVariable>
-                </argument>
-            </argumentList>
-        </action>
-    </actionList>
-    <serviceStateTable>
-        <stateVariable>
-            <name>A_ARG_TYPE_DeviceID</name>
-            <sendEventsAttribute>no</sendEventsAttribute>
-            <dataType>string</dataType>
-        </stateVariable>
-        <stateVariable>
-            <name>A_ARG_TYPE_Result</name>
-            <sendEventsAttribute>no</sendEventsAttribute>
-            <dataType>int</dataType>
-        </stateVariable>
-        <stateVariable>
-            <name>A_ARG_TYPE_RegistrationReqMsg</name>
-            <sendEventsAttribute>no</sendEventsAttribute>
-            <dataType>bin.base64</dataType>
-        </stateVariable>
-        <stateVariable>
-            <name>A_ARG_TYPE_RegistrationRespMsg</name>
-            <sendEventsAttribute>no</sendEventsAttribute>
-            <dataType>bin.base64</dataType>
-        </stateVariable>
-        <stateVariable>
-            <name>AuthorizationGrantedUpdateID</name>
-            <sendEventsAttribute>no</sendEventsAttribute>
-            <dataType>ui4</dataType>
-        </stateVariable>
-        <stateVariable>
-            <name>AuthorizationDeniedUpdateID</name>
-            <sendEventsAttribute>no</sendEventsAttribute>
-            <dataType>ui4</dataType>
-        </stateVariable>
-        <stateVariable>
-            <name>ValidationSucceededUpdateID</name>
-            <sendEventsAttribute>no</sendEventsAttribute>
-            <dataType>ui4</dataType>
-        </stateVariable>
-        <stateVariable>
-            <name>ValidationRevokedUpdateID</name>
-            <sendEventsAttribute>no</sendEventsAttribute>
-            <dataType>ui4</dataType>
-        </stateVariable>
-    </serviceStateTable>
-</scpd>
+<?xml version="1.0"?>\r
+<scpd xmlns="urn:schemas-upnp-org:service-1-0">\r
+    <specVersion>\r
+        <major>1</major>\r
+        <minor>0</minor>\r
+    </specVersion>\r
+    <actionList>\r
+        <action>\r
+            <name>IsAuthorized</name>\r
+            <argumentList>\r
+                <argument>\r
+                    <name>DeviceID</name>\r
+                    <direction>in</direction>\r
+                    <relatedStateVariable>A_ARG_TYPE_DeviceID</relatedStateVariable>\r
+                </argument>\r
+                <argument>\r
+                    <name>Result</name>\r
+                    <direction>out</direction>\r
+                    <relatedStateVariable>A_ARG_TYPE_Result</relatedStateVariable>\r
+                </argument>\r
+            </argumentList>\r
+        </action>\r
+        <action>\r
+            <name>RegisterDevice</name>\r
+            <argumentList>\r
+                <argument>\r
+                    <name>RegistrationReqMsg</name>\r
+                    <direction>in</direction>\r
+                    <relatedStateVariable>A_ARG_TYPE_RegistrationReqMsg</relatedStateVariable>\r
+                </argument>\r
+                <argument>\r
+                    <name>RegistrationRespMsg</name>\r
+                    <direction>out</direction>\r
+                    <relatedStateVariable>A_ARG_TYPE_RegistrationRespMsg</relatedStateVariable>\r
+                </argument>\r
+            </argumentList>\r
+        </action>\r
+        <action>\r
+            <name>IsValidated</name>\r
+            <argumentList>\r
+                <argument>\r
+                    <name>DeviceID</name>\r
+                    <direction>in</direction>\r
+                    <relatedStateVariable>A_ARG_TYPE_DeviceID</relatedStateVariable>\r
+                </argument>\r
+                <argument>\r
+                    <name>Result</name>\r
+                    <direction>out</direction>\r
+                    <relatedStateVariable>A_ARG_TYPE_Result</relatedStateVariable>\r
+                </argument>\r
+            </argumentList>\r
+        </action>\r
+    </actionList>\r
+    <serviceStateTable>\r
+        <stateVariable>\r
+            <name>A_ARG_TYPE_DeviceID</name>\r
+            <sendEventsAttribute>no</sendEventsAttribute>\r
+            <dataType>string</dataType>\r
+        </stateVariable>\r
+        <stateVariable>\r
+            <name>A_ARG_TYPE_Result</name>\r
+            <sendEventsAttribute>no</sendEventsAttribute>\r
+            <dataType>int</dataType>\r
+        </stateVariable>\r
+        <stateVariable>\r
+            <name>A_ARG_TYPE_RegistrationReqMsg</name>\r
+            <sendEventsAttribute>no</sendEventsAttribute>\r
+            <dataType>bin.base64</dataType>\r
+        </stateVariable>\r
+        <stateVariable>\r
+            <name>A_ARG_TYPE_RegistrationRespMsg</name>\r
+            <sendEventsAttribute>no</sendEventsAttribute>\r
+            <dataType>bin.base64</dataType>\r
+        </stateVariable>\r
+        <stateVariable>\r
+            <name>AuthorizationGrantedUpdateID</name>\r
+            <sendEventsAttribute>no</sendEventsAttribute>\r
+            <dataType>ui4</dataType>\r
+        </stateVariable>\r
+        <stateVariable>\r
+            <name>AuthorizationDeniedUpdateID</name>\r
+            <sendEventsAttribute>no</sendEventsAttribute>\r
+            <dataType>ui4</dataType>\r
+        </stateVariable>\r
+        <stateVariable>\r
+            <name>ValidationSucceededUpdateID</name>\r
+            <sendEventsAttribute>no</sendEventsAttribute>\r
+            <dataType>ui4</dataType>\r
+        </stateVariable>\r
+        <stateVariable>\r
+            <name>ValidationRevokedUpdateID</name>\r
+            <sendEventsAttribute>no</sendEventsAttribute>\r
+            <dataType>ui4</dataType>\r
+        </stateVariable>\r
+    </serviceStateTable>\r
+</scpd>\r