diff options
| author | Preston Pan <ret2pop@gmail.com> | 2026-02-17 19:21:56 -0800 |
|---|---|---|
| committer | Preston Pan <ret2pop@gmail.com> | 2026-02-17 19:21:56 -0800 |
| commit | 243ebf35c43c9bb6f64c1fd1a51794e55f640780 (patch) | |
| tree | 7aa3f10c69967c5a1641917910306eeb02c7a632 /nix/modules/home/mpd.nix | |
| parent | 40f5a8b407c0c771005c3f64b72d3c9b9da4c586 (diff) | |
| parent | 9a930ea12bd743e9ca57b70911f8c35d97af3320 (diff) | |
Merge branch 'main' of ret2pop.net:/srv/git/monorepo
Diffstat (limited to 'nix/modules/home/mpd.nix')
| -rw-r--r-- | nix/modules/home/mpd.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nix/modules/home/mpd.nix b/nix/modules/home/mpd.nix index 8f646ea..2ab711b 100644 --- a/nix/modules/home/mpd.nix +++ b/nix/modules/home/mpd.nix @@ -13,16 +13,16 @@ type "pipewire" name "pipewire output" } + audio_output { type "httpd" - name "My HTTP Stream" + name "Ret2pop's Music Stream" encoder "opus" # optional port "8000" - # quality "5.0" # do not define if bitrate is defined - bitrate "128000" # do not define if quality is defined + bitrate "128000" format "48000:16:1" - always_on "yes" # prevent MPD from disconnecting all listeners when playback is stopped. - tags "yes" # httpd supports sending tags to listening streams. + always_on "yes" + tags "yes" } audio_output { |
