Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DIDL error with recent Sonos Software update? #266

pfischi opened this issue Dec 21, 2014 · 2 comments


None yet
3 participants
Copy link

commented Dec 21, 2014


I got the following error when a Spotify track is in the soeakers list (it is a sonos favorite item):

File "/usr/lib/python3.4/http/", line 398, in handle
File "/usr/lib/python3.4/http/", line 386, in handle_one_request
File "/home/pfischi/programming/projects/shSonos/server.sonos/soco/", line 225, in do_NOTIFY
variables = parse_event_xml(content)
File "/home/pfischi/programming/projects/shSonos/server.sonos/soco/", line 141, in parse_event_xml
value = get_didl_object(item_xml)
File "/home/pfischi/programming/projects/shSonos/server.sonos/soco/", line 48, in get_didl_object
cls = DIDL_CLASS_TO_CLASS[xml.find(ns_tag('upnp', 'class')).text
KeyError: 'object.container.album.musicAlbum.sonos-favorite'




This comment has been minimized.

Copy link

commented Dec 21, 2014

Please can you say what you are trying to do? What code are you using which is generating this error?


This comment has been minimized.

Copy link

commented Dec 21, 2014

Nothing special from my side. This is just the output after an AVTransport event. This happens if a Spotify track is in the queue and this track is marked as a Sonos favorite track (so you can chose this track in the main panel of the Sonos app).


@stefankoegl stefankoegl added this to the 0.11 milestone Jan 11, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.