srvc_type = "urn:schemas-upnp-org:service:PlayList:1"
srvc_name = "PlayList"
- def __init__(self, positions=10, xml_path=''):
+ def __init__(self, positions, xml_path):
scpd_path = pjoin(xml_path, "zukebox-playlist-scpd.xml")
log.info("PlayList service scpd_path = %s" % scpd_path)
Service.__init__(self, self.srvc_name, self.srvc_type, '', scpd_path)
def soap_GetPlaylist(self, *args, **kwargs):
"""Get the playlist"""
- return {"Playlist": self.list}
+ playlist = self.list.__str__()
+ return {"Playlist": playlist}
def clean_playlist(self):