SUMMARY When the option ¨Pause media players on suspend" is selected, if SMPlayer is already paused, when the PC is going to suspend the media player (smplayer) starts playing. When returning from suspend the media player is also playing (even before unlock the session). On the other hand, if the option ¨Pause media players on suspend" is unselected, the SMPlayer remains paused when the PC is going to suspend. However, if SMPlayer is playing, the ¨Pause media players on suspend" works as intended (SMPlayer is paused on suspend) STEPS TO REPRODUCE 1. Enable ¨Pause media players on suspend" in the Advanced Settings of Power Management 2. Start playing any media file with SMPlayer 3. Pause SMPlayer 4. Suspend the PC OBSERVED RESULT SMPlayer start playing just before the PC enters in suspension When returning from suspend, SMPlayer is also playing EXPECTED RESULT SMPlayer maintains the media in pause SOFTWARE/OS VERSIONS Windows: MacOS: Linux/KDE Plasma:KDE NEON User Edition (available in About System) KDE Plasma Version: 5.14.3 KDE Frameworks Version: 5.52.0 Qt Version: 5.11.2 ADDITIONAL INFORMATION Operating System: KDE neon 5.14 KDE Plasma Version: 5.14.3 Qt Version: 5.11.2 KDE Frameworks Version: 5.52.0 Kernel Version: 4.15.0-39-generic OS Type: 64-bit Processors: 4 × Intel® Core™ i5-6300U CPU @ 2.40GHz Memory: 15,1 GiB of RAM
I issue a "Pause" command to SMPlayer. If that treats it as PlayPause, this is a bug in SMPlayer, please report the bug there.
(In reply to Kai Uwe Broulik from comment #1) > I issue a "Pause" command to SMPlayer. If that treats it as PlayPause, this > is a bug in SMPlayer, please report the bug there. Thanks Kai, I'll do it.
Thanks, there's some docs [1], that state "Pause(): Pauses playback. If playback is already paused, this has no effect." [1] https://specifications.freedesktop.org/mpris-spec/latest/Player_Interface.html#Method:Pause
Thanks! Just for reference, if anyone else stops here, there is an open bug in Smplayer with this issue: https://sourceforge.net/p/smplayer/bugs/902/
*** Bug 406869 has been marked as a duplicate of this bug. ***
*** Bug 408598 has been marked as a duplicate of this bug. ***