Adding zukebox-search-scpd.xml file with actions and state variables descriptions.
authorHenry Bilby <henrymiller.engenheiro@gmail.com>
Thu, 28 May 2009 05:10:47 +0000 (01:10 -0400)
committerAndré L. V. Loureiro <loureiro.andrew@gmail.com>
Fri, 29 May 2009 23:24:25 +0000 (19:24 -0400)
zukebox_server/src/services/search/__init__.py [new file with mode: 0644]
zukebox_server/src/xml_descriptions/zukebox-search-scpd.xml [new file with mode: 0644]

diff --git a/zukebox_server/src/services/search/__init__.py b/zukebox_server/src/services/search/__init__.py
new file mode 100644 (file)
index 0000000..139597f
--- /dev/null
@@ -0,0 +1,2 @@
+
+
diff --git a/zukebox_server/src/xml_descriptions/zukebox-search-scpd.xml b/zukebox_server/src/xml_descriptions/zukebox-search-scpd.xml
new file mode 100644 (file)
index 0000000..7c97433
--- /dev/null
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="utf-8"?>
+<scpd xmls="urn:schemas-upnp-org:service-1-0">
+       <specVersion>
+               <major>1</major>
+               <minor>0</minor>
+       </specVersion>
+       <serviceStateTable>
+               <stateVariable sendEvents="yes">
+                       <name>genre_list</name>
+                       <dataType>list</dataType>
+                       <defaultValue> </defaultValue>
+               </stateVariable>
+               <stateVariable sendEvents="yes">
+                       <name>name_music_list</name>
+                       <dataType>list</dataType>
+                       <defaultValue> </defaultValue>
+               </stateVariable>
+               <stateVariable sendEvents="yes">
+                       <name>name_artist_list</name>
+                       <dataType>list</dataType>
+                       <defaultValue> </defaultValue>
+               </stateVariable>
+               <stateVariable sendEvents="yes">
+                       <name>all_audio_list</name>
+                       <dataType>list</dataType>
+                       <defaultValue> </defaultValue>
+               </stateVariable>
+       </serviceStateTable>
+       <actionList>
+               <action>
+                       <name>SearchGenreList</name>
+                       <argumentList>
+                               <argument>
+                                       <name>GenreType</name>
+                                       <direction>in</direction>
+                                       <relatedStateVariable>genreType</relatedStateVariable>
+                               </argument>
+                               <argument>
+                                       <name>SearchGenreList</name>
+                                       <direction>out</direction>
+                                       <relatedStateVariable>genre_list</relatedStateVariable>
+                               </argument>
+                       </argumentList>
+               </action>
+               <action>
+                       <name>SearchMusicList</name>
+                       <argumentList>
+                               <argument>
+                                       <name>MusicName</name>
+                                       <direction>in</direction>
+                                       <relatedStateVariable>musicName</relatedStateVariable>
+                               </argument>
+                               <argument>
+                                       <name>SearchMusicList</name>
+                                       <direction>out</direction>
+                                       <relatedStateVariable>name_music_list</relatedStateVariable>
+                               </argument>
+                       </argumentList>
+               </action>
+               <action>
+                       <name>SearchArtistList</name>
+                       <argumentList>
+                               <argument>
+                                       <name>ArtistName</name>
+                                       <direction>in</direction>
+                                       <relatedStateVariable>artistName</relatedStateVariable>
+                               </argument>
+                               <argument>
+                                       <name>SearchArtistList</name>
+                                       <direction>out</direction>
+                                       <relatedStateVariable>name_artist_list</relatedStateVariable>
+                               </argument>
+                       </argumentList>
+               </action>
+               <action>
+                       <name>SearchAllAudioList</name>
+                       <argumentList>
+                               <argument>
+                                       <name>SearchAllAudioList</name>
+                                       <direction>out</direction>
+                                       <relatedStateVariable>all_audio_list</relatedStateVariable>
+                               </argument>
+                       </argumentList>
+               </action>
+       </actionList>
+</scpd>