-
-
Notifications
You must be signed in to change notification settings - Fork 799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: mpv missing in docker image and no mention in documentation #2910
Comments
Hope that this bugreport will be more successfull, than my feature request. |
Adding MPV to the image increases its size considerably:
With MPV:
I don't think it is worthy adding it by default, as most users don't use the Jukebox mode. Ideally we would have to change the pipeline/release process to add a new Docker image variant, including MPV. Contributions are most welcome :) In the meantime, you could create your own image, by using this simple Dockerfile:
|
Also, I’m not sure disk size is a huge consideration for most folks on container size, but I understand wanting a small core container. |
Right now, the app has a feature, which, ideally, should be supported on all platforms.
I understand your consertn about needlessly increase the image size, with, arguably bloat. However, there are certain usecases, (like on TrueNAS), where you cannot really edit the docker. |
I'm not suggesting editing an image, but to create your own using the
Is not that hard, but it is also not free. Remember, this is an open source project that I work on in my spare time...
I decided to add |
Thank you, this works great in a docker in arch! |
I confirm that:
Version
0.51.1
Current Behavior
Expected Behavior
Docker container should have
mpv
to enable jukebox mode for architectures where it is supported.Alpine mpv packages exist.
Steps To Reproduce
We can use jukebox mode in docker by either passing
/dev/snd
to the container (for exclusive use by navidrome) or ideally passing the pulseaudio socket at/run/user/1000/pulse
(for non-exclusive use of the audio output which is more friendly to other system applications).The dockerfile should be updated to add the mpv package to the container by default.
Environment
How Navidrome is installed?
Docker
Configuration
relevant excerpt
Relevant log output
Anything else?
Once this is done, mpv exists and can see all of the sound devices on the system, though navidrome has already tried to enumerate devices and doesn't show any in the web interface.
Alternately, the documentation should be updated to advise whether this is not supported in a docker configuration.
Right now, jukebox mode doesn't work in docker, but there is no mention of this or why.
Code of Conduct
The text was updated successfully, but these errors were encountered: