04-19-2025, 09:25 AM
(04-18-2025, 08:35 PM)Tim Curtis Wrote:(04-18-2025, 06:25 PM)Gaupen Wrote:(04-18-2025, 03:07 PM)roderickvd Wrote:(04-18-2025, 11:51 AM)Gaupen Wrote: Hey this is awesome work, just switched to Deezer from using Spotify cast before on Moode.
What i miss is being able to cast from different accounts.
Would it be possible to have an option to have more then one Pleezer instances running for different accounts in my household?
or an idea to solve this in a different way?
Glad you like it.
I've never tested it, but yes: you should be able to run multiple pleezer instances on a single machine. Each with a separate secrets file for the different accounts.
That seems to work i tested
sudo pleezer --name pleezer_user2 --device-type web --device "ALSA|_audioout||S32" --initial-volume 100 --secrets /etc/deezer/user2.toml --hook /var/local/www/commandw/deezevent.sh
And i managed to have both users being able to cast to moode
Would be nice if the moode deezer connect renderer config provided for extra deezer accounts in that way.
I think one of the challenges with this approach is that it's not really "session interruption" which I think is how Spotify Connect (librespot) works using just a single instance.
If there were multiple pleezer instances running, each capable of acquiring the audio output and sending metadata to the WebUI, users would have to manually coordinate when they are using Deezer. I could envision a support nightmare.
Would it be doable to advertize multiple deezer accounts from within one instance instead of running two instances on the same machine in a way that the last one that connects to it takes over the stream.