navidrome / navidrome

🎧☁️ Modern Music Server and Streamer compatible with Subsonic/Airsonic
https://www.navidrome.org
GNU General Public License v3.0
10.6k stars 804 forks source link

[Bug]: Jukebox mode not working #3022

Open felipemarinho97 opened 1 month ago

felipemarinho97 commented 1 month ago

I confirm that:

Version

0.52.5

Current Behavior

I cannot play music in Jukebox mode.

time="2024-05-13T00:36:24Z" level=warning msg="API: Failed response" endpoint=/rest/jukeboxControl.view error=0 message="Internal Server Error: can't connect to mpv's socket: dial unix /tmp/mpv-ctrl-0495f4f7-10fc-49c7-a4de-55309c1743d4.socket: connect: connection refused" requestId=fa5ec789f28c/byzBbnED7w-000027

Expected Behavior

play music normally

Steps To Reproduce

  1. Set up the navidrome with docker using the latest version.
  2. Configure Jukebox with fifo output. ND_JUKEBOX_ENABLED: true ND_MPVPATH: "/usr/bin/mpv" ND_MPVCMDTEMPLATE: "mpv --no-audio-display --pause '%f' --input-ipc-server=%s --audio-channels=stereo --audio-samplerate=48000 --audio-format=s16 --ao=pcm --ao-pcm-file=/tmp/snapcast_fifo"

Environment

- OS: ArchLinux + Docker
- Client: DSub 5.5.3

How Navidrome is installed?

Docker

Configuration

No response

Relevant log output

No response

Anything else?

No response

Code of Conduct

deluan commented 1 month ago

Thanks for the report. Did you have it working with previous versions?

felipemarinho97 commented 3 weeks ago

No, this is the first time I try to use the jukebox mode