Browse Source

update azuracast location

pull/24/head
Ben Harris 3 months ago
parent
commit
af6bb5e0df
  1. 2
      .htaccess
  2. 2
      butt.cfg.txt
  3. 6
      djinfo.html
  4. 6
      index.php
  5. 2
      schedule/nextdj.php
  6. 2
      schedule/schedule.php

2
.htaccess

@ -1,6 +1,6 @@
# redirect proper start
<IfModule mod_rewrite.c>
RewriteEngine On
Redirect 302 /listen https://radio.tildeverse.org/radio/8000/radio.ogg
Redirect 302 /listen https://azuracast.tilderadio.org/radio/8000/radio.ogg
</IfModule>
# redirect proper end

2
butt.cfg.txt

@ -54,7 +54,7 @@ ontop = 1
lcd_auto = 0
[Tilde]
address = radio.tildeverse.org
address = azuracast.tilderadio.org
# live stream
port = 8005
# test stream

6
djinfo.html

@ -15,7 +15,7 @@
<dl>
<dt>Server:</dt>
<dd>radio.tildeverse.org</dd>
<dd>azuracast.tilderadio.org</dd>
<dt>Port:</dt>
<dd>8005</dd>
<dt>Mount Name:</dt>
@ -54,8 +54,8 @@ All volume sliders to 100%
</pre>
<p>the test stream is available on port 8015 and you can listen to it
<a href="https://radio.tildeverse.org/public/test">here</a>
or <a href="https://radio.tildeverse.org/radio/8010/radio.ogg">here as ogg</a></p>
<a href="https://azuracast.tilderadio.org/public/test">here</a>
or <a href="https://azuracast.tilderadio.org/radio/8010/radio.ogg">here as ogg</a></p>
</div>
</body>

6
index.php

@ -17,15 +17,15 @@ TildeRadio is Internet radio streamed by / for users of the <a href="https://til
<h4>how to listen</h4>
<p><em><?php include 'schedule/nextdj.php'; ?></em></p>
<iframe src="https://radio.tildeverse.org/public/tilderadio/embed" style="width: 100%; min-height: 160px; border: 0;"></iframe>
<iframe src="https://azuracast.tilderadio.org/public/tilderadio/embed" style="width: 100%; min-height: 160px; border: 0;"></iframe>
<p>
Or use the following links in your media player of choice:
</p>
<ul>
<li>https://radio.tildeverse.org/radio/8000/radio.ogg</li>
<li>https://radio.tildeverse.org/radio/8000/radio.mp3</li>
<li>https://azuracast.tilderadio.org/radio/8000/radio.ogg</li>
<li>https://azuracast.tilderadio.org/radio/8000/radio.mp3</li>
</ul>
<hr>

2
schedule/nextdj.php

@ -19,7 +19,7 @@ if (empty($apikey)) {
$schedule = json_decode(
file_get_contents(
"https://radio.tildeverse.org/api/station/1/schedule?rows=2",
"https://azuracast.tilderadio.org/api/station/1/schedule?rows=2",
false,
$context
),

2
schedule/schedule.php

@ -25,7 +25,7 @@ if (empty($apikey)) {
$schedule = json_decode(
file_get_contents(
"https://radio.tildeverse.org/api/station/1/streamers/schedule?start=$from&end=$to",
"https://azuracast.tilderadio.org/api/station/1/streamers/schedule?start=$from&end=$to",
false,
$context
),

Loading…
Cancel
Save