12-01-2024, 10:46 AM
(12-01-2024, 10:09 AM)roderickvd Wrote:(11-30-2024, 10:43 PM)roderickvd Wrote:(11-30-2024, 10:24 PM)Tim Curtis Wrote: To clarify: On connection assume MPD is playing and thus the audio output will be busy. The pleezer hook script used by moode will stop MPD playback when it receives event = "connected" and MPD will close the audio output. Then when Deezer client sends "play", pleezer should open the audio output at that time and then and begin playback.
Yup, got it. I've pushed a commit to the repo that now does that.
While testing with connecting-disconnecting-connecting I found a couple of queue synchronization issues that I also tried to address. It became a fairly big change, would be good to give it some testing before I release v0.4.0.
I see it's still acquiring the sink before connection, so I need to fix that. I'll let you know when I have.
Yes, I also noticed that it opens ALSA output right after it starts.