koying / SPMC

fork of xbmc/kodi
Other
632 stars 257 forks source link

UPnP in 16.6.0 #852

Open astephon88 opened 7 years ago

astephon88 commented 7 years ago

I have been using UPnP subscriptions in SPMC on SATV along with my Smartthings setup to control lighting levels based on playback status. Starting with the 16.6.0 update, some elements of this were broken. I'm still getting play and pause events, but stop events are not making it through. The SPMC changelog mentions "ADD: zeroconf via API", and the UPnP configuration menu in SPMC has changed slightly. It now has an option in the UPnP configuration for Airplay, as well as the separate airplay menu, which makes me think something got mixed up in the change. I rolled back to 15.5.5 and all is well again

tht-1255 commented 7 years ago

When you select the UPnP option in Browse for new share Nothing happens at all it is like the option is not turned on. If you Highlight it then do the OK you get the Prompt but if you change the upnp:// to upnp://10.0.0.1 when you goto save it SPMC Sorry SPMC encountered a Problem Screen So I can report or Close.

The only way I have found to make it work it to already have a source.xml file or Do the above and just leave it as Auto-Discover and then click OK it will complain that it couldn't connect then click Yes and save it anyway, Then you have to go back to Settings / Services / UPnp / DLNA and enable Airplay Support and then you can see the UPnP / DLNA servers in your Auto-Discover that has already been saved but if you try to add another UPnP server the Option is not longer there.

I would try turning on the Airplay option above in Settings / Services / UPnP / DNLA See if that helps

mo123 commented 7 years ago

There are a lot of new UPNP changes in Kodi 17, maybe one of the changes can also fix the problem in SPMC but which ones? https://github.com/xbmc/xbmc/commits/master/lib/libUPnP https://github.com/koying/SPMC/commits/f595bea9226f9b9d111f65f8b7bd9454b6f28b2c/lib/libUPnP