l radio: add mp3 stream

This commit is contained in:
lassulus 2018-11-27 01:01:56 +01:00
parent f19b35b7ab
commit 8a6fd4d004

View File

@ -60,10 +60,25 @@ in {
group = "radio"; group = "radio";
musicDirectory = "/home/radio/the_playlist/music"; musicDirectory = "/home/radio/the_playlist/music";
extraConfig = '' extraConfig = ''
audio_output {
type "shout"
encoding "lame"
name "the_playlist_mp3"
host "localhost"
port "8000"
mount "/radio.mp3"
password "${source-password}"
bitrate "128"
format "44100:16:2"
user "source"
genre "good music"
}
audio_output { audio_output {
type "shout" type "shout"
encoding "ogg" encoding "ogg"
name "the_playlist" name "the_playlist_ogg"
host "localhost" host "localhost"
port "8000" port "8000"
mount "/radio.ogg" mount "/radio.ogg"