A Python UPnP Media Server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

478 lines
21 KiB

  1. <scpd>
  2. <serviceStateTable>
  3. <stateVariable>
  4. <name>TransportState</name>
  5. <sendEventsAttribute>no</sendEventsAttribute>
  6. <dataType>string</dataType>
  7. <allowedValueList>
  8. <allowedValue>STOPPED</allowedValue>
  9. <allowedValue>PLAYING</allowedValue>
  10. </allowedValueList>
  11. </stateVariable>
  12. <stateVariable>
  13. <name>TransportStatus</name>
  14. <sendEventsAttribute>no</sendEventsAttribute>
  15. <dataType>string</dataType>
  16. <allowedValueList>
  17. <allowedValue>OK</allowedValue>
  18. <allowedValue>ERROR_OCCURRED</allowedValue>
  19. </allowedValueList>
  20. </stateVariable>
  21. <stateVariable>
  22. <name>PlaybackStorageMedium</name>
  23. <sendEventsAttribute>no</sendEventsAttribute>
  24. <dataType>string</dataType>
  25. </stateVariable>
  26. <stateVariable>
  27. <name>RecordStorageMedium</name>
  28. <sendEventsAttribute>no</sendEventsAttribute>
  29. <dataType>string</dataType>
  30. </stateVariable>
  31. <stateVariable>
  32. <name>PossiblePlaybackStorageMedia</name>
  33. <sendEventsAttribute>no</sendEventsAttribute>
  34. <dataType>string</dataType>
  35. </stateVariable>
  36. <stateVariable>
  37. <name>PossibleRecordStorageMedia</name>
  38. <sendEventsAttribute>no</sendEventsAttribute>
  39. <dataType>string</dataType>
  40. </stateVariable>
  41. <stateVariable>
  42. <name>CurrentPlayMode</name>
  43. <sendEventsAttribute>no</sendEventsAttribute>
  44. <dataType>string</dataType>
  45. <allowedValueList>
  46. <allowedValue>NORMAL</allowedValue>
  47. </allowedValueList>
  48. <defaultValue>NORMAL</defaultValue>
  49. </stateVariable>
  50. <stateVariable>
  51. <name>TransportPlaySpeed</name>
  52. <sendEventsAttribute>no</sendEventsAttribute>
  53. <dataType>string</dataType>
  54. <allowedValueList>
  55. <allowedValue>1</allowedValue>
  56. </allowedValueList>
  57. </stateVariable>
  58. <stateVariable>
  59. <sendEventsAttribute>no</sendEventsAttribute>
  60. <name>RecordMediumWriteStatus </name>
  61. <dataType>string</dataType>
  62. </stateVariable>
  63. <stateVariable>
  64. <name>CurrentRecordQualityMode</name>
  65. <sendEventsAttribute>no</sendEventsAttribute>
  66. <dataType>string</dataType>
  67. </stateVariable>
  68. <stateVariable>
  69. <name>PossibleRecordQualityModes</name>
  70. <sendEventsAttribute>no</sendEventsAttribute>
  71. <dataType>string</dataType>
  72. </stateVariable>
  73. <stateVariable>
  74. <name>NumberOfTracks</name>
  75. <sendEventsAttribute>no</sendEventsAttribute>
  76. <dataType>ui4</dataType>
  77. <allowedValueRange>
  78. <minimum>0</minimum>
  79. </allowedValueRange>
  80. </stateVariable>
  81. <stateVariable>
  82. <name>CurrentTrack</name>
  83. <sendEventsAttribute>no</sendEventsAttribute>
  84. <dataType>ui4</dataType>
  85. <allowedValueRange>
  86. <minimum>0</minimum>
  87. <step>1</step>
  88. </allowedValueRange>
  89. </stateVariable>
  90. <stateVariable>
  91. <name>CurrentTrackDuration</name>
  92. <sendEventsAttribute>no</sendEventsAttribute>
  93. <dataType>string</dataType>
  94. </stateVariable>
  95. <stateVariable>
  96. <name>CurrentMediaDuration</name>
  97. <sendEventsAttribute>no</sendEventsAttribute>
  98. <dataType>string</dataType>
  99. </stateVariable>
  100. <stateVariable>
  101. <name>CurrentTrackMetaData</name>
  102. <sendEventsAttribute>no</sendEventsAttribute>
  103. <dataType>string</dataType>
  104. </stateVariable>
  105. <stateVariable>
  106. <name>CurrentTrackURI</name>
  107. <sendEventsAttribute>no</sendEventsAttribute>
  108. <dataType>string</dataType>
  109. </stateVariable>
  110. <stateVariable>
  111. <name>AVTransportURI</name>
  112. <sendEventsAttribute>no</sendEventsAttribute>
  113. <dataType>string</dataType>
  114. </stateVariable>
  115. <stateVariable>
  116. <name>AVTransportURIMetaData</name>
  117. <sendEventsAttribute>no</sendEventsAttribute>
  118. <dataType>string</dataType>
  119. </stateVariable>
  120. <stateVariable>
  121. <name>NextAVTransportURI</name>
  122. <sendEventsAttribute>no</sendEventsAttribute>
  123. <dataType>string</dataType>
  124. </stateVariable>
  125. <stateVariable>
  126. <name>NextAVTransportURIMetaData</name>
  127. <sendEventsAttribute>no</sendEventsAttribute>
  128. <dataType>string</dataType>
  129. </stateVariable>
  130. <stateVariable>
  131. <name>RelativeTimePosition</name>
  132. <sendEventsAttribute>no</sendEventsAttribute>
  133. <dataType>string</dataType>
  134. </stateVariable>
  135. <stateVariable>
  136. <name>AbsoluteTimePosition</name>
  137. <sendEventsAttribute>no</sendEventsAttribute>
  138. <dataType>string</dataType>
  139. </stateVariable>
  140. <stateVariable>
  141. <name>RelativeCounterPosition</name>
  142. <sendEventsAttribute>no</sendEventsAttribute>
  143. <dataType>i4</dataType>
  144. </stateVariable>
  145. <stateVariable>
  146. <name>AbsoluteCounterPosition</name>
  147. <sendEventsAttribute>no</sendEventsAttribute>
  148. <dataType>i4</dataType>
  149. </stateVariable>
  150. <stateVariable>
  151. <Optional/>
  152. <name>CurrentTransportActions</name>
  153. <sendEventsAttribute>no</sendEventsAttribute>
  154. <dataType>string</dataType>
  155. </stateVariable>
  156. <stateVariable>
  157. <name>LastChange</name>
  158. <sendEventsAttribute>yes</sendEventsAttribute>
  159. <dataType>string</dataType>
  160. </stateVariable>
  161. <stateVariable>
  162. <name>A_ARG_TYPE_SeekMode</name>
  163. <sendEventsAttribute>no</sendEventsAttribute>
  164. <dataType>string</dataType>
  165. <allowedValueList>
  166. <allowedValue>TRACK_NR</allowedValue>
  167. </allowedValueList>
  168. </stateVariable>
  169. <stateVariable>
  170. <name>A_ARG_TYPE_SeekTarget</name>
  171. <sendEventsAttribute>no</sendEventsAttribute>
  172. <dataType>string</dataType>
  173. </stateVariable>
  174. <stateVariable>
  175. <name>A_ARG_TYPE_InstanceID</name>
  176. <sendEventsAttribute>no</sendEventsAttribute>
  177. <dataType>ui4</dataType>
  178. </stateVariable>
  179. </serviceStateTable>
  180. <actionList>
  181. <action>
  182. <name>SetAVTransportURI</name>
  183. <argumentList>
  184. <argument>
  185. <name>InstanceID</name>
  186. <direction>in</direction> <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
  187. </argument>
  188. <argument>
  189. <name>CurrentURI</name>
  190. <direction>in</direction> <relatedStateVariable>AVTransportURI</relatedStateVariable>
  191. </argument>
  192. <argument>
  193. <name>CurrentURIMetaData</name>
  194. <direction>in</direction> <relatedStateVariable>AVTransportURIMetaData</relatedStateVariable>
  195. </argument>
  196. </argumentList>
  197. </action>
  198. <action> <Optional/>
  199. <name>SetNextAVTransportURI</name>
  200. <argumentList>
  201. <argument>
  202. <name>InstanceID</name>
  203. <direction>in</direction> <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
  204. </argument>
  205. <argument>
  206. <name>NextURI</name>
  207. <direction>in</direction> <relatedStateVariable>NextAVTransportURI</relatedStateVariable>
  208. </argument>
  209. <argument>
  210. <name>NextURIMetaData</name>
  211. <direction>in</direction> <relatedStateVariable>NextAVTransportURIMetaData</relatedStateVariable>
  212. </argument>
  213. </argumentList>
  214. </action>
  215. <action>
  216. <name>GetMediaInfo</name>
  217. <argumentList>
  218. <argument>
  219. <name>InstanceID</name>
  220. <direction>in</direction> <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
  221. </argument>
  222. <argument>
  223. <name>NrTracks</name>
  224. <direction>out</direction> <relatedStateVariable>NumberOfTracks</relatedStateVariable>
  225. </argument>
  226. <argument>
  227. <name>MediaDuration</name>
  228. <direction>out</direction> <relatedStateVariable>CurrentMediaDuration</relatedStateVariable>
  229. </argument>
  230. <argument>
  231. <name>CurrentURI</name>
  232. <direction>out</direction> <relatedStateVariable>AVTransportURI</relatedStateVariable>
  233. </argument>
  234. <argument>
  235. <name>CurrentURIMetaData</name>
  236. <direction>out</direction> <relatedStateVariable>AVTransportURIMetaData</relatedStateVariable>
  237. </argument>
  238. <argument>
  239. <name>NextURI</name>
  240. <direction>out</direction> <relatedStateVariable>NextAVTransportURI</relatedStateVariable>
  241. </argument>
  242. <argument>
  243. <name>NextURIMetaData</name>
  244. <direction>out</direction> <relatedStateVariable>NextAVTransportURIMetaData</relatedStateVariable>
  245. </argument>
  246. <argument>
  247. <name>PlayMedium</name>
  248. <direction>out</direction> <relatedStateVariable>PlaybackStorageMedium</relatedStateVariable>
  249. </argument>
  250. <argument>
  251. <name>RecordMedium</name>
  252. <direction>out</direction> <relatedStateVariable>RecordStorageMedium</relatedStateVariable>
  253. </argument>
  254. <argument>
  255. <name>WriteStatus</name>
  256. <direction>out</direction> <relatedStateVariable>RecordMediumWriteStatus </relatedStateVariable>
  257. </argument>
  258. </argumentList>
  259. </action>
  260. <action>
  261. <name>GetTransportInfo</name>
  262. <argumentList>
  263. <argument>
  264. <name>InstanceID</name>
  265. <direction>in</direction> <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
  266. </argument>
  267. <argument>
  268. <name>CurrentTransportState</name>
  269. <direction>out</direction> <relatedStateVariable>TransportState</relatedStateVariable>
  270. </argument>
  271. <argument>
  272. <name>CurrentTransportStatus</name>
  273. <direction>out</direction> <relatedStateVariable>TransportStatus</relatedStateVariable>
  274. </argument>
  275. <argument>
  276. <name>CurrentSpeed</name>
  277. <direction>out</direction> <relatedStateVariable>TransportPlaySpeed</relatedStateVariable>
  278. </argument>
  279. </argumentList>
  280. </action>
  281. <action>
  282. <name>GetPositionInfo</name>
  283. <argumentList>
  284. <argument>
  285. <name>InstanceID</name>
  286. <direction>in</direction> <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
  287. </argument>
  288. <argument>
  289. <name>Track</name>
  290. <direction>out</direction> <relatedStateVariable>CurrentTrack</relatedStateVariable>
  291. </argument>
  292. <argument>
  293. <name>TrackDuration</name>
  294. <direction>out</direction> <relatedStateVariable>CurrentTrackDuration</relatedStateVariable>
  295. </argument>
  296. <argument>
  297. <name>TrackMetaData</name>
  298. <direction>out</direction> <relatedStateVariable>CurrentTrackMetaData</relatedStateVariable>
  299. </argument>
  300. <argument>
  301. <name>TrackURI</name>
  302. <direction>out</direction> <relatedStateVariable>CurrentTrackURI</relatedStateVariable>
  303. </argument>
  304. <argument>
  305. <name>RelTime</name>
  306. <direction>out</direction> <relatedStateVariable>RelativeTimePosition</relatedStateVariable>
  307. </argument>
  308. <argument>
  309. <name>AbsTime</name>
  310. <direction>out</direction> <relatedStateVariable>AbsoluteTimePosition</relatedStateVariable>
  311. </argument>
  312. <argument>
  313. <name>RelCount</name>
  314. <direction>out</direction> <relatedStateVariable>RelativeCounterPosition</relatedStateVariable>
  315. </argument>
  316. <argument>
  317. <name>AbsCount</name>
  318. <direction>out</direction> <relatedStateVariable>AbsoluteCounterPosition</relatedStateVariable>
  319. </argument>
  320. </argumentList>
  321. </action>
  322. <action>
  323. <name>GetDeviceCapabilities</name>
  324. <argumentList>
  325. <argument>
  326. <name>InstanceID</name>
  327. <direction>in</direction> <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
  328. </argument>
  329. <argument>
  330. <name>PlayMedia</name>
  331. <direction>out</direction> <relatedStateVariable>PossiblePlaybackStorageMedia</relatedStateVariable>
  332. </argument>
  333. <argument>
  334. <name>RecMedia</name>
  335. <direction>out</direction> <relatedStateVariable>PossibleRecordStorageMedia</relatedStateVariable>
  336. </argument>
  337. <argument>
  338. <name>RecQualityModes</name>
  339. <direction>out</direction> <relatedStateVariable>PossibleRecordQualityModes</relatedStateVariable>
  340. </argument>
  341. </argumentList>
  342. </action>
  343. <action>
  344. <name>GetTransportSettings</name>
  345. <argumentList>
  346. <argument>
  347. <name>InstanceID</name>
  348. <direction>in</direction> <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
  349. </argument>
  350. <argument>
  351. <name>PlayMode</name>
  352. <direction>out</direction> <relatedStateVariable>CurrentPlayMode</relatedStateVariable>
  353. </argument>
  354. <argument>
  355. <name>RecQualityMode</name>
  356. <direction>out</direction> <relatedStateVariable>CurrentRecordQualityMode</relatedStateVariable>
  357. </argument>
  358. </argumentList>
  359. </action>
  360. <action>
  361. <name>Stop</name>
  362. <argumentList>
  363. <argument>
  364. <name>InstanceID</name>
  365. <direction>in</direction> <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
  366. </argument>
  367. </argumentList>
  368. </action>
  369. <action>
  370. <name>Play</name>
  371. <argumentList>
  372. <argument>
  373. <name>InstanceID</name>
  374. <direction>in</direction> <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
  375. </argument>
  376. <argument>
  377. <name>Speed</name>
  378. <direction>in</direction> <relatedStateVariable>TransportPlaySpeed</relatedStateVariable>
  379. </argument>
  380. </argumentList>
  381. </action>
  382. <action> <Optional/>
  383. <name>Pause</name>
  384. <argumentList>
  385. <argument>
  386. <name>InstanceID</name>
  387. <direction>in</direction> <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
  388. </argument>
  389. </argumentList>
  390. </action>
  391. <action> <Optional/>
  392. <name>Record</name>
  393. <argumentList>
  394. <argument>
  395. <name>InstanceID</name>
  396. <direction>in</direction> <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
  397. </argument>
  398. </argumentList>
  399. </action>
  400. <action>
  401. <name>Seek</name>
  402. <argumentList>
  403. <argument>
  404. <name>InstanceID</name>
  405. <direction>in</direction> <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
  406. </argument>
  407. <argument>
  408. <name>Unit</name>
  409. <direction>in</direction> <relatedStateVariable>A_ARG_TYPE_SeekMode</relatedStateVariable>
  410. </argument>
  411. <argument>
  412. <name>Target</name>
  413. <direction>in</direction> <relatedStateVariable>A_ARG_TYPE_SeekTarget</relatedStateVariable>
  414. </argument>
  415. </argumentList>
  416. </action>
  417. <action>
  418. <name>Next</name>
  419. <argumentList>
  420. <argument>
  421. <name>InstanceID</name>
  422. <direction>in</direction> <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
  423. </argument>
  424. </argumentList>
  425. </action>
  426. <action>
  427. <name>Previous</name>
  428. <argumentList>
  429. <argument>
  430. <name>InstanceID</name>
  431. <direction>in</direction> <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
  432. </argument>
  433. </argumentList>
  434. </action>
  435. <action> <Optional/>
  436. <name>SetPlayMode</name>
  437. <argumentList>
  438. <argument>
  439. <name>InstanceID</name>
  440. <direction>in</direction> <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
  441. </argument>
  442. <argument>
  443. <name>NewPlayMode</name>
  444. <direction>in</direction> <relatedStateVariable>CurrentPlayMode</relatedStateVariable>
  445. </argument>
  446. </argumentList>
  447. </action>
  448. <action> <Optional/>
  449. <name>SetRecordQualityMode</name>
  450. <argumentList>
  451. <argument>
  452. <name>InstanceID</name>
  453. <direction>in</direction> <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
  454. </argument>
  455. <argument>
  456. <name>NewRecordQualityMode</name>
  457. <direction>in</direction> <relatedStateVariable>CurrentRecordQualityMode</relatedStateVariable>
  458. </argument>
  459. </argumentList>
  460. </action>
  461. <action> <Optional/>
  462. <name>GetCurrentTransportActions</name>
  463. <argumentList>
  464. <argument>
  465. <name>InstanceID</name>
  466. <direction>in</direction> <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
  467. </argument>
  468. <argument>
  469. <name>Actions</name>
  470. <direction>out</direction> <relatedStateVariable>CurrentTransportActions</relatedStateVariable>
  471. </argument>
  472. </argumentList>
  473. </action>
  474. </actionList>
  475. </scpd>