philippe44 / SpotConnect

Turn any UPnP or AirPlay player into a Spotify Connect device
MIT License
66 stars 3 forks source link

[Question] Support for OpenHome #26

Open GioF71 opened 8 months ago

GioF71 commented 8 months ago

Hello @philippe44, would it be possible to support OpenHome along with UPnP/DLNA devices? Thank you

philippe44 commented 8 months ago

I can't say that I've studied openhome a ton but for me it's this weird fork of UPnP that was made many years ago for a very questionable benefit so I'm not sure it's worth the effort

GioF71 commented 8 months ago

Hello, thank you for your feedback. Ultimately it's your choice if you want to try and support openhome. I want to just give you some reasons behind the request. Your application has the great merit of making a upnp renderer available as spotify-connect devices, and that is really great. For streaming for media servers (like upmpdcli with its qobuz/tidal/subsonic plugins) though it seems to be better to create openhome renderers because they retain the playlist on their own, they have better gapless support, and they keep generally working if the control point is turned off or is unreachable (think of BubbleUpnp on your phone). But, in order to make the same renderer available also for SpotConnect, I have to make it av-compatible in upmpdcli. It appears there are two devices but they are actually the same and they are bound to the same instance of mpd. I don't have a fancy unit like the eversolo dmp-a6 with its nice display, so sometimes I put an old android phone or some table near my setup, open BubbleUpnp, select the openhome renderer, and enjoy my poor man's streamer with a display.

What would be great is, leaving that device as a pure display with bubbleUpnp open, when I have finished listening to some tracks on subsonic (e.g.), I open Spotify on my handheld device (or anyway a device other than the one dedicated as a display), select the renderer as the spotify connect device, start playing something, and the BubbleUpnp application on the "display device" would still show at least author and track information.

Now I currently don't have the spotify subscription running (I might activate it today for some tests) but generally switching from openhome mode to regular upnp mode has always led to all sort of issues, like disappearing playlists, etc etc. So for this reason having SpotConnect use OpenHome might possibly reduce these kind of issues.