Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Roon endpoint (renderer)
#10
I don't think it's that easy. I have faced the same issue with Spotify, and I don't think there is an easy solution.

Here's what happens with the Spotify flow:
- An officially-provided Spotify library runs in the system
- A wrapper is created around the service which allows play, stop, next, etc.

So, if you are interacting with the wrapper, all is good! You can program events and hooks at your own free will. BUT you need to always interact with the audio device through the wrapper: a Web page, an API, however you are doing it.

If, on the other hand, you are interacting with the core official library, you can't guarantee any hooks or events to stop the moode MPD. Unfortunately, the Spotify app interacts directly with the service, and not through the wrapper.

This may also be the case for Roon: if you install the renderer and it is a closed library, you are more or less doomed to stop manually MPD before starting Roon.

I did manage a continuously polling service that detected the request and attempted to stop MPD and resume Spotify via the wrapper, but this was cumbersome and presented some complex interactions. In the end, just doing a manual stop is not that big a deal for me.

Maybe Roon is implemented differently?

Best regards,
Rafa.
Reply


Messages In This Thread
Roon endpoint (renderer) - by SebuZet - 04-09-2018, 10:20 AM
RE: Roon endpoint (renderer) - by Tim Curtis - 04-09-2018, 06:24 PM
RE: Roon endpoint (renderer) - by SebuZet - 04-13-2018, 09:53 AM
RE: Roon endpoint (renderer) - by vuckozagi - 04-12-2018, 03:30 AM
RE: Roon endpoint (renderer) - by yannig - 11-12-2018, 07:50 PM
RE: Roon endpoint (renderer) - by Tim Curtis - 04-12-2018, 11:26 AM
RE: Roon endpoint (renderer) - by rikardo1979 - 04-13-2018, 10:24 AM
RE: Roon endpoint (renderer) - by SebuZet - 04-26-2018, 05:40 PM
RE: Roon endpoint (renderer) - by Tim Curtis - 04-27-2018, 12:33 PM
RE: Roon endpoint (renderer) - by SebuZet - 05-24-2018, 07:12 AM
RE: Roon endpoint (renderer) - by SebuZet - 04-28-2018, 08:36 PM
RE: Roon endpoint (renderer) - by RafaPolit - 05-02-2018, 09:09 PM
RE: Roon endpoint (renderer) - by Tim Curtis - 05-24-2018, 01:22 PM
RE: Roon endpoint (renderer) - by Edward - 01-30-2019, 04:08 AM
RE: Roon endpoint (renderer) - by yannig - 11-12-2018, 07:32 PM
RE: Roon endpoint (renderer) - by yannig - 01-27-2019, 06:26 PM
RE: Roon endpoint (renderer) - by ferdzb - 01-28-2019, 04:35 AM
RE: Roon endpoint (renderer) - by Edward - 01-30-2019, 04:10 AM
RE: Roon endpoint (renderer) - by mrdrew - 12-13-2019, 12:31 AM
RE: Roon endpoint (renderer) - by RafaPolit - 12-24-2019, 01:09 AM
RE: Roon endpoint (renderer) - by cereyanlimusiki - 11-10-2020, 04:02 PM
RE: Roon endpoint (renderer) - by Tim Curtis - 11-10-2020, 04:06 PM

Forum Jump: