Skip to content
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

[Feature] Add an environment variable which allows using custom mpd.conf file #356

Closed
vari opened this issue Dec 8, 2023 · 1 comment · Fixed by #365
Closed

[Feature] Add an environment variable which allows using custom mpd.conf file #356

vari opened this issue Dec 8, 2023 · 1 comment · Fixed by #365
Labels
enhancement New feature or request feature request Request for a new feature

Comments

@vari
Copy link

vari commented Dec 8, 2023

It would be great to have an environment variable which can be used to override the generation of the mpd.conf file in the container or specify a path to a custom mpd.conf file to use instead of the default one. This will enable use cases not currently supported by the container and provide a mechansim to provide a custom conf file in case there is a bug with the generated config in the future.

(Separate issue created as per request in #355 )

@GioF71
Copy link
Owner

GioF71 commented Dec 10, 2023

Hello, I implemented this using the (already existing) volume /user/config
Just place (or anyway mount) a file named override.mpd.conf to use that file instead of the generated configuration file.
Hope this will work for you, enjoy!

p.s. images building now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature request Request for a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants