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 ices.xml.jinja .
|
||||
COPY index.html /usr/share/icecast2/web
|
||||
|
||||
COPY next_song.py /opt
|
||||
COPY yt_sync.py /opt
|
||||
|
@ -30,7 +30,7 @@
|
||||
|
||||
|
||||
<mount type="normal">
|
||||
<mount-name>/radio-bullshit.ogg</mount-name>
|
||||
<mount-name>/radio-bullshit</mount-name>
|
||||
|
||||
<username>{{ source_username }}</username>
|
||||
<password>{{ source_password }}</password>
|
||||
@ -48,19 +48,17 @@
|
||||
<header name="Access-Control-Allow-Origin" value="http://webplayer.example.org" />
|
||||
<header name="baz" value="quux" />
|
||||
</http-headers>
|
||||
<on-connect>/home/icecast/bin/stream-start</on-connect>
|
||||
<on-disconnect>/home/icecast/bin/stream-stop</on-disconnect>
|
||||
</mount>
|
||||
|
||||
<fileserve>1</fileserve>
|
||||
|
||||
<paths>
|
||||
<basedir>/usr/share/icecast</basedir>
|
||||
<basedir>/usr/share/icecast2</basedir>
|
||||
|
||||
<logdir>/var/log/icecast</logdir>
|
||||
<webroot>/usr/share/icecast/web</webroot>
|
||||
<adminroot>/usr/share/icecast/admin</adminroot>
|
||||
<alias source="/" destination="/status.xsl"/>
|
||||
<webroot>/usr/share/icecast2/web</webroot>
|
||||
<adminroot>/usr/share/icecast2/admin</adminroot>
|
||||
<alias source="/" destination="/index.html"/>
|
||||
</paths>
|
||||
|
||||
<logging>
|
||||
|
@ -14,7 +14,7 @@
|
||||
<instance>
|
||||
<username>{{ source_username }}</username>
|
||||
<password>{{ source_password }}</password>
|
||||
<mount>/radio-bullshit.ogg</mount>
|
||||
<mount>/radio-bullshit</mount>
|
||||
</instance>
|
||||
</stream>
|
||||
</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