mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-21 00:37:09 +02:00
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 |
||
|---|---|---|
| .. | ||
| mpv | ||
| device.go | ||
| playback_suite_test.go | ||
| playbackserver.go | ||
| queue.go | ||
| queue_test.go | ||