Compare commits

...

3 Commits

Author SHA1 Message Date
ugrnm 8ed2d5b620 new ezstream config for opus 8 months ago
ugrnm a5c476e05b bump year + corrected env path 8 months ago
ugrnm 1016194c3b local convenience 8 months ago
  1. 1
      .gitignore
  2. 4
      download_loooooops.py
  3. 11
      stream_loooooops-config.xml.example

1
.gitignore

@ -1,4 +1,5 @@
loooooops loooooops
loooooops-old
playlist_loooooops.m3u playlist_loooooops.m3u
stream_loooooops-config.xml stream_loooooops-config.xml

4
download_loooooops.py

@ -1,4 +1,4 @@
#!/bin/env python3 #!/usr/bin/env python3
import requests import requests
from time import sleep from time import sleep
@ -9,7 +9,7 @@ from urllib.parse import urlparse
# remote_url # remote_url
# description # description
year = "2022" year = "2023"
output_dir = os.path.join("loooooops", year) output_dir = os.path.join("loooooops", year)

11
stream_loooooops-config.xml.example

@ -8,12 +8,19 @@
</servers> </servers>
<streams> <streams>
<stream> <stream>
<mountpoint>/radio-looptober.mp3</mountpoint> <mountpoint>/radio-looptober.opus</mountpoint>
<format>MP3</format> <format>Ogg</format>
<stream_name>Radio Looooooptober</stream_name> <stream_name>Radio Looooooptober</stream_name>
<stream_description>#LOOPTOBER #LOOPTOBER #LOOPTOBER</stream_description> <stream_description>#LOOPTOBER #LOOPTOBER #LOOPTOBER</stream_description>
</stream> </stream>
</streams> </streams>
<decoders>
<decoder>
<name>Opus</name>
<program>opusdec --rate 44100 @T@ -</program>
<file_ext>.opus</file_ext>
</decoder>
</decoders>
<intakes> <intakes>
<intake> <intake>
<filename>playlist_loooooops.m3u</filename> <filename>playlist_loooooops.m3u</filename>

Loading…
Cancel
Save