Updating the new implementation of ZukeboxControlPoint class, adding soap_GetPlaylist...
[zukebox] / zukebox_server / src / services / playlist / zb_playlist.py
index fd4b067..74fdd05 100644 (file)
@@ -116,6 +116,10 @@ class PlayList(Service):
         prev_uri = prev["cur_uri"]
         return {"PreviousItem": prev_uri}
 
+    def soap_GetPlaylist(self, *args, **kwargs):
+        """Get the playlist"""
+        return {"Playlist": self.list}
+
 
     def clean_playlist(self):
         if self.available: