-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Labels
Description
I confirm that:
- I have searched the existing open AND closed issues to see if an issue already exists for the bug I've encountered
- I'm using the latest version (your issue may have been fixed already)
Version
0.52.5
Current Behavior
When trying to use Jukebox mode it doesn't work and I see errors in the logs. These errors appear to be linked to the file path that is passed to mpv not being quoted to deal with white spaces - BUT I might be wrong.
If I paste the mpv command listed in the logs, I get an error. If I then put quotes around the file path in the same command, mpv does not give an error and it plays. My current setting attempts to use snapcast, but I get the same error with the MPVTemplate option disabled.
Expected Behavior
I am expecting jukebox mode to work with no errors.
Steps To Reproduce
- Enable jukebox mode
- Use DSub to play a track, selecting Jukebox as an output
- Fail
Environment
- OS: dietpi: v9.7.1
- Browser: Chrome
- Client: Dsub Android 13
How Navidrome is installed?
Package
Configuration
DataFolder = '/mnt/dietpi_userdata/navidrome/data'
MusicFolder = '/mnt/sda/FLAC'
ImageCacheSize = '1000MiB'
LogLevel = 'debug'
SessionTimeout = '24h'
AuthRequestLimit = '5'
AuthWindowLength = '20s'
ScanSchedule = '@every 24h'
EnableLogRedacting = false
Scanner.Extractor = 'taglib'
CoverJpegQuality = '75'
CoverArtPriority = 'folder.*, Folder.*, cover.*. Cover.*, embedded, external'
LastFM.Enabled = true
LastFM.ApiKey = 'xx'
LastFM.Secret = 'xx'
Jukebox.Enabled = true
MPVPath = '/usr/bin/mpv'
Jukebox.Devices = [
[ "internal", "alsa/plughw:CARD=DAC,DEV=0" ]
]
Jukebox.Default = 'internal'
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/mpd'
EnableTranscodingConfig = true
Relevant log output
Sep 11 22:18:53 DietPi navidrome[13069]: time="2024-09-11T22:18:53+01:00" level=debug msg="Loading track" mediaType=audio/flac trackPath="/mnt/sda/FLAC/Acoustic/00s/Aqualung/09 Gentle.flac"
Sep 11 22:18:53 DietPi navidrome[13069]: time="2024-09-11T22:18:53+01:00" level=debug msg="Executing mpv command" cmd="[/usr/bin/mpv --no-audio-display --pause /mnt/sda/FLAC/Acoustic/00s/Aqualung/09 Gentle.flac --input-ipc-server=/tmp/mpv-ctrl-3ca738b3-ba30-4104-9d09-3a9ae86bed00.socket --audio-channels=stereo --audio-samplerate=48000 --audio-format=s16 --ao=pcm --ao-pcm-file=/tmp/mpd]"
Sep 11 22:18:53 DietPi navidrome[13069]: time="2024-09-11T22:18:53+01:00" level=debug msg="API: Successful response" endpoint=/rest/scrobble.view requestId=DietPi/XTbFYszRdL-000190 status=OK
Sep 11 22:18:53 DietPi navidrome[13069]: time="2024-09-11T22:18:53+01:00" level=debug msg="HTTP: GET http://192.168.1.22:4533/rest/scrobble.view?u=prupert&s=7a7kijec6qc8plkj4jdd8rl658&t=5c0b4e312a81e238a3582ed365aeac38&v=1.2.0&c=DSub&id=1052077f64bde5a67e41b87cbfabc0be&submission=true" elapsedTime=54.8ms httpStatus=200 remoteAddr="192.168.1.44:43004" requestId=DietPi/XTbFYszRdL-000190 responseSize=175 userAgent=DSub
Sep 11 22:18:53 DietPi navidrome[13069]: time="2024-09-11T22:18:53+01:00" level=debug msg="API: New request /rest/savePlayQueue.view" client=DSub requestId=DietPi/XTbFYszRdL-000192 username=prupert version=1.2.0
Sep 11 22:18:53 DietPi navidrome[13069]: time="2024-09-11T22:18:53+01:00" level=debug msg="API: Successful response" endpoint=/rest/savePlayQueue.view requestId=DietPi/XTbFYszRdL-000192 status=OK
Sep 11 22:18:53 DietPi navidrome[13069]: time="2024-09-11T22:18:53+01:00" level=debug msg="HTTP: GET http://192.168.1.22:4533/rest/savePlayQueue.view?u=prupert&s=7a7kijec6qc8plkj4jdd8rl658&t=5c0b4e312a81e238a3582ed365aeac38&v=1.2.0&c=DSub&id=beaa5f9dc33c64dbc4218501b9106da8&id=da1e5cebc1954fed60e12f8a5e0f0947&id=cb3796d55c7a504ee3b03bf35602b4ba&id=07049ee9fd7b730f3c11b8a50bfff725&id=9eeaa735a656e54f20720ef02defaac0&id=3ee1f8f66d108fa4ff7685bcec77f263&id=4803a716723f481ee785c731885b379f&id=c63fbaece2398b0559a1fe4a02a9c532&id=1052077f64bde5a67e41b87cbfabc0be&id=2e35d478498d3b5dc025bdf98ad766f4&id=ed0bab09eefbe8e9082efcca3a3def3b¤t=1052077f64bde5a67e41b87cbfabc0be&position=0" elapsedTime=12.1ms httpStatus=200 remoteAddr="192.168.1.44:43012" requestId=DietPi/XTbFYszRdL-000192 responseSize=175 userAgent=DSub
Sep 11 22:18:54 DietPi navidrome[13069]: time="2024-09-11T22:18:54+01:00" level=debug msg="Socket found" retries=9 waitTime=908.7ms
Sep 11 22:18:54 DietPi navidrome[13069]: time="2024-09-11T22:18:54+01:00" level=debug msg="Setting volume" track="Name: /mnt/sda/FLAC/Acoustic/00s/Aqualung/09 Gentle.flac, Socket: /tmp/mpv-ctrl-3ca738b3-ba30-4104-9d09-3a9ae86bed00.socket" volume=1
Sep 11 22:18:54 DietPi navidrome[13069]: time="2024-09-11T22:18:54+01:00" level=debug msg="Setting position" offset=0 track="Name: /mnt/sda/FLAC/Acoustic/00s/Aqualung/09 Gentle.flac, Socket: /tmp/mpv-ctrl-3ca738b3-ba30-4104-9d09-3a9ae86bed00.socket"
Sep 11 22:18:54 DietPi navidrome[13069]: time="2024-09-11T22:18:54+01:00" level=debug msg="Got mpv error, retrying..." error="mpv error: property unavailable" retries=1
Anything else?
No response
Code of Conduct
- I agree to follow Navidrome's Code of Conduct
tomasz-c