-
Notifications
You must be signed in to change notification settings - Fork 6
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
[Enhancement] Add multiple bind to address support #357
Comments
Hello, sure, will do that, maybe today but I cannot guarantee. |
My setup is a little complicated but basically, I have a separate mount point (lets call it I think a simpler and likely more common use case would be something like wanting to use one
Thanks for being so responsive and resolving this and the other issues I filed so quickly 😄 |
Hello, so did the change work for you? Thank you! |
Yep, the changes worked perfectly. Here's a simplified version of my compose file: services:
mpd:
container_name: 'mpd'
image: 'giof71/mpd-alsa:vanilla-latest'
restart: unless-stopped
environment:
RESTORE_PAUSED: "yes"
DEFAULT_PERMISSIONS: "read"
PASSWORD: "REDACTED"
MPD_BIND_ADDRESS: "/var/run/mpd/socket"
MPD_BIND_ADDRESS_1: "0.0.0.0"
# Icecast streaming
SHOUT_OUTPUT_CREATE: "yes"
SHOUT_OUTPUT_ENABLED: "yes"
SHOUT_OUTPUT_HOST: icecast
SHOUT_OUTPUT_PORT: 8000
SHOUT_OUTPUT_MOUNT: "/icecast"
SHOUT_OUTPUT_USER: "REDACTED"
SHOUT_OUTPUT_PASSWORD: "REDACTED"
SHOUT_OUTPUT_ALWAYS_ON: "yes"
ports:
- '6600:6600'
volumes:
- ./mpd/db:/db
- ./playlists:/playlists
- ./mpd/log:/log
- ./mpd/config:/user/config
- ./mpd/socket:/var/run/mpd/
# Music dir - path to normal music library
- ./music:/music
# Temp music dir for adhoc playing of music not in the regular /music library. Client must use socket for this
- ./tmpMusic:/tmpMusic |
Hello, thank you for sharing your configuration. In any case I am happy that you can use my container in your setup! |
My setup is in flux (mostly just playing around with MPD and trying to get more familiar with it). Currently using mympd but looking into other clients. Will take a look at MiniDLNA as well - thanks for the suggestion! |
It would be nice to be able to specify multiple bind to address values for MPD.
Context: I'd like to have MPD listen via the standard 0.0.0.0 address as well as via unix file socket. The unix file socket is necessary for adding music files to MPD's queue using absolute file paths (e.g. if I wanted to play files that are not in the /music directory). While I could switch to exclusively using the unix file socket via the existing
MPD_BIND_ADDRESS
var, I'd like to have MPD also listen via TCP at 0.0.0.0 so that my phone MPD client can connect to it as well.The text was updated successfully, but these errors were encountered: