alpha
Login
or
Join now
lass.pds.lassul.us
/
superconfig
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
1
Pipelines
radio: add /radio.badge endpoint
author
lassulus
date
2 years ago
(Jan 8, 2024, 9:57 PM CET)
commit
b167cce5
b167cce5c6eb2af7fab5f6dc13baa4e335299b22
parent
0ac1c78c
0ac1c78c76e0c8a0b8614c9036116a04056aeb0b
+6
2 changed files
Expand all
Collapse all
Unified
Split
2configs
services
radio
default.nix
radio.liq
+5
2configs/services/radio/default.nix
View file
Reviewed
···
176
176
<errorlog>-</errorlog>
177
177
<loglevel>3</loglevel>
178
178
</logging>
179
179
+
<mount type="normal">
180
180
+
<mount-name>/radio.badge</mount-name>
181
181
+
<queue-size>2048000</queue-size>
182
182
+
<burst-size>128000</burst-size>
183
183
+
</mount>
179
184
'';
180
185
};
181
186
+1
2configs/services/radio/radio.liq
View file
Reviewed
···
55
55
output.icecast(host = env["ICECAST_HOST"], mount = '/radio.ogg', password = 'hackme', %vorbis(quality = 1), radio)
56
56
output.icecast(host = env["ICECAST_HOST"], mount = '/radio.mp3', password = 'hackme', %mp3.vbr(), radio)
57
57
output.icecast(host = env["ICECAST_HOST"], mount = '/radio.opus', password = 'hackme', %opus(bitrate = 128), radio)
58
58
+
output.icecast(host = env["ICECAST_HOST"], mount = '/radio.badge', password = 'hackme', send_icy_metadata = false, %mp3.cbr(bitrate = 64), radio)
58
59
else
59
60
output(fallible = true, buffer(radio))
60
61
end