summaryrefslogtreecommitdiff
path: root/nix/modules/home/mpd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/modules/home/mpd.nix')
-rw-r--r--nix/modules/home/mpd.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/nix/modules/home/mpd.nix b/nix/modules/home/mpd.nix
index 087b19a..3ab9d2d 100644
--- a/nix/modules/home/mpd.nix
+++ b/nix/modules/home/mpd.nix
@@ -24,6 +24,20 @@
always_on "yes" # prevent MPD from disconnecting all listeners when playback is stopped.
tags "yes" # httpd supports sending tags to listening streams.
}
+audio_output {
+ type "shout"
+ encoding "ogg"
+ name "my cool stream"
+ host "localhost"
+ port "8000"
+ mount "/example.ogg"
+ user "source"
+ password "<source-password>"
+
+ bitrate "64"
+ format "44100:16:1"
+ description "Nullring public radio"
+}
'';
};
}