diff --git a/.changes/playback-keep-display-awake.md b/.changes/playback-keep-display-awake.md new file mode 100644 index 000000000..7372c3921 --- /dev/null +++ b/.changes/playback-keep-display-awake.md @@ -0,0 +1,11 @@ +--- +type: fix +area: playback +issues: [1095] +--- + +The screen no longer dims or goes to sleep while a built-in player is playing +video — including on Linux desktops, where the system idle timer used to +ignore the app. Pausing or stopping hands control back to the system +immediately, and radio playback deliberately leaves the display free to +sleep. Works in both the desktop app and the PWA. diff --git a/AGENTS.md b/AGENTS.md index 035cbdb6e..2da266468 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -446,6 +446,27 @@ Key files: - Canonical docs: `docs/architecture/player-controls-contract.md` and `docs/architecture/embedded-mpv-native.md` +## Display Sleep During Playback + +- `PlaybackKeepAwakeService` + (`apps/web/src/app/services/playback-keep-awake.service.ts`) watches every + `