audio player on main page
This commit is contained in:
parent
88aa22ad32
commit
9f40b27cfd
@ -12,6 +12,7 @@ RUN adduser zambla
|
|||||||
|
|
||||||
COPY icecast.xml.jinja .
|
COPY icecast.xml.jinja .
|
||||||
COPY ices.xml.jinja .
|
COPY ices.xml.jinja .
|
||||||
|
COPY index.html /usr/share/icecast2/web
|
||||||
|
|
||||||
COPY next_song.py /opt
|
COPY next_song.py /opt
|
||||||
COPY yt_sync.py /opt
|
COPY yt_sync.py /opt
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<mount type="normal">
|
<mount type="normal">
|
||||||
<mount-name>/radio-bullshit.ogg</mount-name>
|
<mount-name>/radio-bullshit</mount-name>
|
||||||
|
|
||||||
<username>{{ source_username }}</username>
|
<username>{{ source_username }}</username>
|
||||||
<password>{{ source_password }}</password>
|
<password>{{ source_password }}</password>
|
||||||
@ -48,19 +48,17 @@
|
|||||||
<header name="Access-Control-Allow-Origin" value="http://webplayer.example.org" />
|
<header name="Access-Control-Allow-Origin" value="http://webplayer.example.org" />
|
||||||
<header name="baz" value="quux" />
|
<header name="baz" value="quux" />
|
||||||
</http-headers>
|
</http-headers>
|
||||||
<on-connect>/home/icecast/bin/stream-start</on-connect>
|
|
||||||
<on-disconnect>/home/icecast/bin/stream-stop</on-disconnect>
|
|
||||||
</mount>
|
</mount>
|
||||||
|
|
||||||
<fileserve>1</fileserve>
|
<fileserve>1</fileserve>
|
||||||
|
|
||||||
<paths>
|
<paths>
|
||||||
<basedir>/usr/share/icecast</basedir>
|
<basedir>/usr/share/icecast2</basedir>
|
||||||
|
|
||||||
<logdir>/var/log/icecast</logdir>
|
<logdir>/var/log/icecast</logdir>
|
||||||
<webroot>/usr/share/icecast/web</webroot>
|
<webroot>/usr/share/icecast2/web</webroot>
|
||||||
<adminroot>/usr/share/icecast/admin</adminroot>
|
<adminroot>/usr/share/icecast2/admin</adminroot>
|
||||||
<alias source="/" destination="/status.xsl"/>
|
<alias source="/" destination="/index.html"/>
|
||||||
</paths>
|
</paths>
|
||||||
|
|
||||||
<logging>
|
<logging>
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
<instance>
|
<instance>
|
||||||
<username>{{ source_username }}</username>
|
<username>{{ source_username }}</username>
|
||||||
<password>{{ source_password }}</password>
|
<password>{{ source_password }}</password>
|
||||||
<mount>/radio-bullshit.ogg</mount>
|
<mount>/radio-bullshit</mount>
|
||||||
</instance>
|
</instance>
|
||||||
</stream>
|
</stream>
|
||||||
</ices>
|
</ices>
|
||||||
|
3
index.html
Normal file
3
index.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<audio controls>
|
||||||
|
<source src="/radio-bullshit" type="audio/ogg">
|
||||||
|
</audio>
|
Loading…
Reference in New Issue
Block a user