Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Unknown UPnP class in subscription #301
and I got the following output:
It seems I've a problem with the
Thanks in advance,
Thanks for reporting this.
Can you try out the iss301 branch in my repository; https://github.com/KennethNielsen/SoCo/tree/iss301 and see if that fixes it.
@lawrenceakka FYI: For this sonos defined class, we obviously do not have the spec, so I just assumes that it has the same spec as the class it derives from (which also seems to be the assumption for DidlMusicAlbumFavorite). So I have simply tried to fix it by adding a new class DidlAudioBroadcastSonosFavorite that derives from DidlAudioBroadcast.
Oh yeah, I should probably mention, that as the last line in the stack trace alludes to, his bug seems to be triggered when doing something with audio broadcast (radio station) favourites. So in order to test my fix, you should be doing something similar with your controller as you where when you triggered the bug i.e. most likely something that has to do with browsing or playing Sonos favourite radio stations.
Before trying your fix I made sure that the problem occurs again (I do not have to do particular things, just subscribe to that controller) and with the standard version of SoCo it triggers the exception, with iss301 branch it goes smoothly.
Thanks a lot! If you need additional details tell me.