ripose-jp / Memento

An mpv-based video player for studying Japanese
https://ripose-jp.github.io/Memento/
GNU General Public License v2.0
472 stars 22 forks source link

Windows 10 screensaver still activates even with stop-screensaver=yes in settings #185

Closed Charoncaori closed 11 months ago

Charoncaori commented 11 months ago

Hello, I'm running Memento on windows 10. I installed it via the installer on the main website. I have a couple different scripts installed, including one that allows me to play multiple videos in order so that I can watch a bunch of videos at once, but Windows's screensaver mode kicks in if I'm not pausing the video or moving the mouse. I definitely have my config file in the correct place because I changed a few other default settings. My log is here, thank you:

QCoreApplication::applicationDirPath: Please instantiate the QApplication object first
 (+) Video --vid=1 (*) '[Judas] x265 10b' (hevc 1910x1080 23.976fps)
 (+) Audio --aid=1 --alang=jpn '[Judas] JAP Stereo (Opus 112Kbps)' (opus 2ch 48000Hz)
     Audio --aid=2 --alang=eng '[Judas] ENG Stereo (Opus 112Kbps)' (opus 2ch 48000Hz)
     Subs  --sid=1 --slang=eng 'English' (ass)
     Subs  --sid=2 --slang=jp 'One Piece - 0292 [Judas].jp.srt' (subrip) (external)
SRT Parser: Invalid positTrack switched:
ion
Li (+) Video --vid=1 (*) '[Judas] x265 10b' (hevc 1910x1080 23.976fps)
ne Num (+) Audio --aid=1 --alang=jpn '[Judas] JAP Stereo (Opus 112Kbps)' (opus 2ch 48000Hz)
ber  4     Audio --aid=2 --alang=eng '[Judas] ENG Stereo (Opus 112Kbps)' (opus 2ch 48000Hz)

"ÒüôÒ     Subs  --sid=1 --slang=eng 'English' (ass)
üô Òé░ (+) Subs  --sid=2 --slang=jp 'One Piece - 0292 [Judas].jp.srt' (subrip) (external)
Òâ®Òâ│ÒâëÒé©ÒâæÒâ│Òé░Òü½ÒéTrack switched:
éÔÇ (+) Video --vid=1 (*) '[Judas] x265 10b' (hevc 1910x1080 23.976fps)
ò"
 (+) Audio --aid=1 --alang=jpn '[Judas] JAP Stereo (Opus 112Kbps)' (opus 2ch 48000Hz)
     Audio --aid=2 --alang=eng '[Judas] ENG Stereo (Opus 112Kbps)' (opus 2ch 48000Hz)
 (+) Subs  --sid=1 --slang=eng 'English' (ass)
 (+) Subs  --sid=2 --slang=jp 'One Piece - 0292 [Judas].jp.srt' (subrip) (external)
AO: [wasapi] 48000Hz stereo 2ch float
VO: [libmpv] 1910x1080 yuv420p10
(Paused) AV: 00:16:48 / 00:23:58 (70%) A-V:  0.000 Dropped: 2
ripose-jp commented 11 months ago

I can reproduce the bug. I'll get a fix out when I get some time. Considering the implementation for screensaver inhibition hasn't changed in years, I'm surprised this hadn't been reported sooner.