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

Closed
pfischi opened this issue Dec 21, 2014 · 2 comments

Comments

Projects
None yet
3 participants
@pfischi
Copy link

commented Dec 21, 2014

Hi,

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/server.py", line 398, in handle
self.handle_one_request()
File "/usr/lib/python3.4/http/server.py", line 386, in handle_one_request
method()
File "/home/pfischi/programming/projects/shSonos/server.sonos/soco/events.py", line 225, in do_NOTIFY
variables = parse_event_xml(content)
File "/home/pfischi/programming/projects/shSonos/server.sonos/soco/events.py", line 141, in parse_event_xml
value = get_didl_object(item_xml)
File "/home/pfischi/programming/projects/shSonos/server.sonos/soco/data_structures.py", 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'

Thanks,

Stefan

@lawrenceakka

This comment has been minimized.

Copy link
Contributor

commented Dec 21, 2014

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

@pfischi

This comment has been minimized.

Copy link
Author

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).

Stefan

@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.