navidrome/core/playback/mpv
fossisawesome-macbook-with-linux 6cf115c4e1 fix(jukebox): bound mpv IPC calls with a timeout to prevent permanent hangs
mpvipc.Connection.Call/Get/Set block on an unbuffered channel with no
timeout of their own. A single dropped IPC response (observed on
Windows) leaves the waiting goroutine blocked forever, wedging the
HTTP handler and every subsequent request on that device permanently
(mpv itself keeps running fine).

Wrap every mpv IPC call in track.go with a 10s timeout so a lost
response fails one command instead of hanging indefinitely.

Fixes #5710
2026-07-04 23:38:14 -04:00
..
mpv.go refactor: multiple syntax updates for Go 1.26 2026-05-19 18:02:36 -03:00
mpv_suite_test.go fix(jukebox): fix mpv command and template parsing (#4162) 2025-06-02 20:52:05 -04:00
mpv_test.go ci: run Go tests on Windows (#5380) 2026-04-19 13:16:47 -04:00
sockets.go Fix issue in https://github.com/navidrome/navidrome/issues/2767#issuecomment-2065636352 2024-04-19 12:38:02 -04:00
sockets_win.go feat(bfr): Big Refactor: new scanner, lots of new fields and tags, improvements and DB schema changes (#2709) 2025-02-19 20:35:17 -05:00
track.go fix(jukebox): bound mpv IPC calls with a timeout to prevent permanent hangs 2026-07-04 23:38:14 -04:00