I've noticed the screensaver is disabled while playing. This is dangerous as it can prevent screen locking to work properly. I think this can be disabled by removing this piece of code (or making it conditional?):
PlayerIpc_ipc.on(
"channel-player-state-update",
external_lodash_debounce_default()((event, state) => {
media.setPlayerInfo({ state }),
state === MediaPlayerState.Playing
? powerSave.start()
: powerSave.stop();
}, 3e3)
),
Hey!
I've noticed the screensaver is disabled while playing. This is dangerous as it can prevent screen locking to work properly. I think this can be disabled by removing this piece of code (or making it conditional?):