Snakeoil Forums

Full Version: Not able to add custom audio output
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'd like to add another mpd audio output for http stream. I enter the below config but Snakeoil doesn't allow me to apply.
 
Code:
audio_output {
    type "httpd"
    name "HTTP Server"
    port "8000"
    encoder "flac"
    compression "0"
    tags "yes"
    always_on "yes"
}
(20-Sep-2023, 05:44 PM)sjtuross Wrote: [ -> ]I'd like to add another mpd audio output for http stream. I enter the below config but Snakeoil doesn't allow me to apply.
 
Code:
audio_output {
    type "httpd"
    name "HTTP Server"
    port "8000"
    encoder "flac"
    compression "0"
    tags "yes"
    always_on "yes"
}

You'll have to SSH into the snakeoil machine, and look under /var/www/players/.

In this folder there will be various MPD versions, go into the version you want to modify. In this MPD folder there will be a file that ends with template. Add your options into that file.

Unfortunately at the moment your custom config will be overwritten every time on a firmware upgrade. I'll see if we can make this easier in a later 1.3.x release.