Snakeoil Forums
Not able to add custom audio output - Printable Version

+- Snakeoil Forums (https://forums.snakeoil-os.net)
+-- Forum: Snakeoil Topics (https://forums.snakeoil-os.net/Forum-Snakeoil-Topics)
+--- Forum: Support & Troubleshooting (https://forums.snakeoil-os.net/Forum-Support-Troubleshooting)
+--- Thread: Not able to add custom audio output (/Thread-Not-able-to-add-custom-audio-output)



Not able to add custom audio output - sjtuross - 20-Sep-2023

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"
}



RE: Not able to add custom audio output - agent_kith - 24-Sep-2023

(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.