System goes to sleep while listening music

My system goes to sleep while listening music via DeadBeef player.

I make some settings (system-inhibit –what=sleep:shutdown) but I think this is a wrong way.

Do you think authors of DeadBeef player should make some changes? Or authors of KDE should do it?

Man, I totally forgot about Deadbeef. Didn’t know it was still around. But I can’t reproduce the issue, can’t help.

I would assume that the problem is that the player is not using whatever standard API allows other players and Firefox to block sleep while playing music. I’d guess it’s probably on their end, but that’s just a guess without investigating too closely.

Assuming that’s correct, your workaround is probably the best option unless they implement support for this signalling