working radio
This commit is contained in:
commit
8a27f7fd22
26
.drone.yml
Normal file
26
.drone.yml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
kind: pipeline
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: docker
|
||||||
|
image: plugins/docker
|
||||||
|
volumes:
|
||||||
|
- name: docker-socket
|
||||||
|
path: /var/run/docker.sock
|
||||||
|
settings:
|
||||||
|
debug: true
|
||||||
|
daemon_off: true
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
repo:
|
||||||
|
from_secret: docker_repo
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
- ${DRONE_BUILD_FINISHED}
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: docker-socket
|
||||||
|
host:
|
||||||
|
path: /run/docker/default/docker.sock
|
8
Dockerfile
Normal file
8
Dockerfile
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
FROM alpine:edge as base
|
||||||
|
RUN ["apk", "add", "--no-cache", "icecast"]
|
||||||
|
COPY ["icecast.xml", "/app/icecast.xml"]
|
||||||
|
|
||||||
|
FROM scratch
|
||||||
|
COPY --from/base / /
|
||||||
|
USER 1443:1443
|
||||||
|
ENTRYPOINT ["/usr/bin/icecast", "-c", "/app/icecast.xml"]
|
220
icecast.xml
Normal file
220
icecast.xml
Normal file
@ -0,0 +1,220 @@
|
|||||||
|
<icecast>
|
||||||
|
<listen-socket>
|
||||||
|
<port>8000</port>
|
||||||
|
</listen-socket>
|
||||||
|
<hostname>radio.purser.it</hostname>
|
||||||
|
<location>Finland</location>
|
||||||
|
<admin>admin@royolav.net</admin>
|
||||||
|
<fileserve>1</fileserve>
|
||||||
|
<paths>
|
||||||
|
<logdir>/data</logdir>
|
||||||
|
</paths>
|
||||||
|
<relay>
|
||||||
|
<server>lyd.nrk.no</server>
|
||||||
|
<port>80</port>
|
||||||
|
<mount>/nrk_radio_p1_innlandet_mp3_h?_hdr=0</mount>
|
||||||
|
<local-mount>/radio-200</local-mount>
|
||||||
|
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
|
||||||
|
<on-demand>0</on-demand>
|
||||||
|
</relay>
|
||||||
|
<relay>
|
||||||
|
<server>lyd.nrk.no</server>
|
||||||
|
<port>80</port>
|
||||||
|
<mount>/nrk_radio_p2_mp3_h?_hdr=0</mount>
|
||||||
|
<local-mount>/radio-201</local-mount>
|
||||||
|
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
|
||||||
|
<on-demand>0</on-demand>
|
||||||
|
</relay>
|
||||||
|
<relay>
|
||||||
|
<server>lyd.nrk.no</server>
|
||||||
|
<port>80</port>
|
||||||
|
<mount>/nrk_radio_p3_mp3_h?_hdr=0</mount>
|
||||||
|
<local-mount>/radio-202</local-mount>
|
||||||
|
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
|
||||||
|
<on-demand>0</on-demand>
|
||||||
|
</relay>
|
||||||
|
<relay>
|
||||||
|
<server>lyd.nrk.no</server>
|
||||||
|
<port>80</port>
|
||||||
|
<mount>/nrk_radio_mp3_mp3_h?_hdr=0</mount>
|
||||||
|
<local-mount>/radio-203</local-mount>
|
||||||
|
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
|
||||||
|
<on-demand>0</on-demand>
|
||||||
|
</relay>
|
||||||
|
<relay>
|
||||||
|
<server>lyd.nrk.no</server>
|
||||||
|
<port>80</port>
|
||||||
|
<mount>/nrk_radio_p13_mp3_h?_hdr=0</mount>
|
||||||
|
<local-mount>/radio-204</local-mount>
|
||||||
|
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
|
||||||
|
<on-demand>0</on-demand>
|
||||||
|
</relay>
|
||||||
|
<relay>
|
||||||
|
<server>p4.p4groupaudio.com</server>
|
||||||
|
<port>80</port>
|
||||||
|
<mount>/P04_MM</mount>
|
||||||
|
<local-mount>/radio-205</local-mount>
|
||||||
|
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
|
||||||
|
<on-demand>0</on-demand>
|
||||||
|
</relay>
|
||||||
|
<relay>
|
||||||
|
<server>p4.p4groupaudio.com</server>
|
||||||
|
<port>80</port>
|
||||||
|
<mount>/P05_MM</mount>
|
||||||
|
<local-mount>/radio-206</local-mount>
|
||||||
|
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
|
||||||
|
<on-demand>0</on-demand>
|
||||||
|
</relay>
|
||||||
|
<relay>
|
||||||
|
<server>p6.p4groupaudio.com</server>
|
||||||
|
<port>80</port>
|
||||||
|
<mount>/P06_MM</mount>
|
||||||
|
<local-mount>/radio-207</local-mount>
|
||||||
|
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
|
||||||
|
<on-demand>0</on-demand>
|
||||||
|
</relay>
|
||||||
|
<relay>
|
||||||
|
<server>p7.p4groupaudio.com</server>
|
||||||
|
<port>80</port>
|
||||||
|
<mount>/P07_MM</mount>
|
||||||
|
<local-mount>/radio-208</local-mount>
|
||||||
|
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
|
||||||
|
<on-demand>0</on-demand>
|
||||||
|
</relay>
|
||||||
|
<relay>
|
||||||
|
<server>p8.p4groupaudio.com</server>
|
||||||
|
<port>80</port>
|
||||||
|
<mount>/P08_MM</mount>
|
||||||
|
<local-mount>/radio-209</local-mount>
|
||||||
|
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
|
||||||
|
<on-demand>0</on-demand>
|
||||||
|
</relay>
|
||||||
|
<relay>
|
||||||
|
<server>p9.p4groupaudio.com</server>
|
||||||
|
<port>80</port>
|
||||||
|
<mount>/P09_MM</mount>
|
||||||
|
<local-mount>/radio-210</local-mount>
|
||||||
|
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
|
||||||
|
<on-demand>0</on-demand>
|
||||||
|
</relay>
|
||||||
|
<relay>
|
||||||
|
<server>stream.radiometro.no</server>
|
||||||
|
<port>80</port>
|
||||||
|
<mount>/metro128.mp3</mount>
|
||||||
|
<local-mount>/radio-211</local-mount>
|
||||||
|
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
|
||||||
|
<on-demand>0</on-demand>
|
||||||
|
</relay>
|
||||||
|
<relay>
|
||||||
|
<server>live-bauerno.sharp-stream.com</server>
|
||||||
|
<port>80</port>
|
||||||
|
<mount>/radionorge_no_hq</mount>
|
||||||
|
<local-mount>/radio-212</local-mount>
|
||||||
|
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
|
||||||
|
<on-demand>0</on-demand>
|
||||||
|
</relay>
|
||||||
|
<relay>
|
||||||
|
<server>stream.radionova.no</server>
|
||||||
|
<port>80</port>
|
||||||
|
<mount>/mp3</mount>
|
||||||
|
<local-mount>/radio-213</local-mount>
|
||||||
|
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
|
||||||
|
<on-demand>0</on-demand>
|
||||||
|
</relay>
|
||||||
|
<relay>
|
||||||
|
<server>stream.radiorandsfjord.no</server>
|
||||||
|
<port>80</port>
|
||||||
|
<mount>/randsfjord128.mp3</mount>
|
||||||
|
<local-mount>/radio-214</local-mount>
|
||||||
|
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
|
||||||
|
<on-demand>0</on-demand>
|
||||||
|
</relay>
|
||||||
|
<relay>
|
||||||
|
<server>tx-bauerno.sharp-stream.com</server>
|
||||||
|
<port>80</port>
|
||||||
|
<mount>/http_live.php?i=radiorock_no_hq</mount>
|
||||||
|
<local-mount>/radio-215</local-mount>
|
||||||
|
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
|
||||||
|
<on-demand>0</on-demand>
|
||||||
|
</relay>
|
||||||
|
<mount type="normal">
|
||||||
|
<charset>UTF-8</charset>
|
||||||
|
<mount-name>/radio-200</mount-name>
|
||||||
|
<stream-name>NRK P1 Innlandet</stream-name>
|
||||||
|
</mount>
|
||||||
|
<mount type="normal">
|
||||||
|
<charset>UTF-8</charset>
|
||||||
|
<mount-name>/radio-201</mount-name>
|
||||||
|
<stream-name>NRK P2</stream-name>
|
||||||
|
</mount>
|
||||||
|
<mount type="normal">
|
||||||
|
<charset>UTF-8</charset>
|
||||||
|
<mount-name>/radio-202</mount-name>
|
||||||
|
<stream-name>NRK P3</stream-name>
|
||||||
|
</mount>
|
||||||
|
<mount type="normal">
|
||||||
|
<charset>UTF-8</charset>
|
||||||
|
<mount-name>/radio-203</mount-name>
|
||||||
|
<stream-name>NRK mP3</stream-name>
|
||||||
|
</mount>
|
||||||
|
<mount type="normal">
|
||||||
|
<charset>UTF-8</charset>
|
||||||
|
<mount-name>/radio-204</mount-name>
|
||||||
|
<stream-name>NRK P13</stream-name>
|
||||||
|
</mount>
|
||||||
|
<mount type="normal">
|
||||||
|
<charset>UTF-8</charset>
|
||||||
|
<mount-name>/radio-205</mount-name>
|
||||||
|
<stream-name>P4 Lyden av Norge</stream-name>
|
||||||
|
</mount>
|
||||||
|
<mount type="normal">
|
||||||
|
<charset>UTF-8</charset>
|
||||||
|
<mount-name>/radio-206</mount-name>
|
||||||
|
<stream-name>P5 Hits</stream-name>
|
||||||
|
</mount>
|
||||||
|
<mount type="normal">
|
||||||
|
<charset>UTF-8</charset>
|
||||||
|
<mount-name>/radio-207</mount-name>
|
||||||
|
<stream-name>P6 Rock</stream-name>
|
||||||
|
</mount>
|
||||||
|
<mount type="normal">
|
||||||
|
<charset>UTF-8</charset>
|
||||||
|
<mount-name>/radio-208</mount-name>
|
||||||
|
<stream-name>P7 Klem</stream-name>
|
||||||
|
</mount>
|
||||||
|
<mount type="normal">
|
||||||
|
<charset>UTF-8</charset>
|
||||||
|
<mount-name>/radio-209</mount-name>
|
||||||
|
<stream-name>P8 Pop</stream-name>
|
||||||
|
</mount>
|
||||||
|
<mount type="normal">
|
||||||
|
<charset>UTF-8</charset>
|
||||||
|
<mount-name>/radio-210</mount-name>
|
||||||
|
<stream-name>P9 Retro</stream-name>
|
||||||
|
</mount>
|
||||||
|
<mount type="normal">
|
||||||
|
<charset>UTF-8</charset>
|
||||||
|
<mount-name>/radio-211</mount-name>
|
||||||
|
<stream-name>Radio Metro</stream-name>
|
||||||
|
</mount>
|
||||||
|
<mount type="normal">
|
||||||
|
<charset>UTF-8</charset>
|
||||||
|
<mount-name>/radio-212</mount-name>
|
||||||
|
<stream-name>Radio Norge</stream-name>
|
||||||
|
</mount>
|
||||||
|
<mount type="normal">
|
||||||
|
<charset>UTF-8</charset>
|
||||||
|
<mount-name>/radio-213</mount-name>
|
||||||
|
<stream-name>Radio Nova</stream-name>
|
||||||
|
</mount>
|
||||||
|
<mount type="normal">
|
||||||
|
<charset>UTF-8</charset>
|
||||||
|
<mount-name>/radio-214</mount-name>
|
||||||
|
<stream-name>Radio Randsfjord</stream-name>
|
||||||
|
</mount>
|
||||||
|
<mount type="normal">
|
||||||
|
<charset>UTF-8</charset>
|
||||||
|
<mount-name>/radio-215</mount-name>
|
||||||
|
<stream-name>Radio Rock</stream-name>
|
||||||
|
</mount>
|
||||||
|
</icecast>
|
Loading…
Reference in New Issue
Block a user