Trying to work out the scope of this issue before filing a bug report. This drives me (quietly) wild, but I want to know if there is a valid use case for it.
Set up:
I use Cantata on Plasma 6 (but this happened in 5 too) to play music through mpd on a remote machine. The intention is Plasma starts the playback, and after that I may wander away from the machine.
The issue:
After a certain amount of time, the playback on the hifi-connected machine stops. This stoppage happens when the computer hibernates itself, as far as I can tell. And I have to interrupt dinner to poke the laptop. Or zap the hifi with a different box.
What I expect should happen:
I started music playing, it should keep playing until told otherwise.
It should not be tied to the laptop.
I assume a “pause music” signal gets sent when sleeping. I can see that makes sense for music played directly on the laptop. I can imagine it might be useful in a “play music before bedtime and stop at some point” situation as well. But in my situation, it is very annoying. I think I can only work around it by shutting down the program or the laptop.
So questions:
- Are my assumptions about the signal correct?
- What’s sending it?
- Is it possible to distinguish between “local” and “remote” playback devices and prevent the pause signal if the device is remote? (This seems the ideal, least-surprise solution to me. Not a global config setting).