inhibit sleep
If a laptop goes to sleep the media playback does not stop. Thus when waking from sleep (or other variations like hibernate) the media is still playing. This issue has been raised in Gnome two years ago. There maintainer suggested to ask here. What do you think? Is this relevant?