mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
f73fd703b7
Intermediate commits (oldest → newest): - Merge branch 'main' of https://github.com/migatu/conjurer - Merge branch 'main' of https://github.com/migatu/conjurer - BGFX - Function for idv3 and bugfix - Merge branch 'main' of https://github.com/migatu/conjurer - Logs additional - LGFIX - FIXED! - Arguments added to the utility. - Fix old bug - add exception handling - Literowka - Hej hoppsan! - Add comment - Fixc Fixc - Fixit - Inside joke very boomer much wow - Fixing logging issues in music_functions.py and other_functions.py - Maybe this will fix - test - test - another attempt to fix the bug - Maybe this is the fix ? - Maybe fix
12 lines
419 B
Plaintext
12 lines
419 B
Plaintext
let json.parse credentials = file.contents("/home/pi/Conjurer/icecast_credentials.json")
|
|
|
|
mic = buffer(input.pulseaudio())
|
|
emergency = blank()
|
|
mic = blank.strip(max_blank=10., min_noise=0.2, threshold=-30., mic)
|
|
|
|
|
|
radio = fallback(id="switcher2", track_sensitive=false, [mic, emergency])
|
|
|
|
output.icecast(%mp3, host="retropie", port=8000, password=credentials.password, icy_metadata="true", mount="mp3-stream",radio)
|
|
|