Compare commits

...

3 Commits

  1. 1
      .gitignore
  2. 4
      download_loooooops.py
  3. 11
      stream_loooooops-config.xml.example

1
.gitignore

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

4
download_loooooops.py

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

11
stream_loooooops-config.xml.example

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

Loading…
Cancel
Save