summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-11-27 01:01:56 +0100
committerlassulus <lassulus@lassul.us>2018-11-27 01:01:56 +0100
commit8a6fd4d0044259574fec1b16d3ea441aee5eedda (patch)
treeef680a9027afeef8c52067f2aaeeb25a52d342a6 /lass/2configs
parentf19b35b7ab0a272724d39b8cfd65181e220c727a (diff)
l radio: add mp3 stream
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/radio.nix17
1 files changed, 16 insertions, 1 deletions
diff --git a/lass/2configs/radio.nix b/lass/2configs/radio.nix
index bf6855804..85faded14 100644
--- a/lass/2configs/radio.nix
+++ b/lass/2configs/radio.nix
@@ -62,8 +62,23 @@ in {
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 {
+ type "shout"
encoding "ogg"
- name "the_playlist"
+ name "the_playlist_ogg"
host "localhost"
port "8000"
mount "/radio.ogg"