AnimaAmoris fixes
This commit is contained in:
parent
0255d0c7e1
commit
0ce64e3c5c
8
id.php
8
id.php
|
@ -44,7 +44,7 @@ function getIDice($streamingUrl, $interval, $offset = 0, $headers = true) {
|
|||
}
|
||||
// Anima Amoris
|
||||
function getIDanima($amoris) {
|
||||
$url = "http://amoris.sknt.ru/sc/".$amoris."/stats.json";
|
||||
$url = "http://amoris.sknt.ru/".$amoris."/stats.json";
|
||||
$headers = array('User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0');
|
||||
$ch = curl_init();
|
||||
curl_setopt($ch, CURLOPT_URL, $url);
|
||||
|
@ -61,14 +61,14 @@ function getIDanima($amoris) {
|
|||
// first
|
||||
echo "id:;:";
|
||||
try {
|
||||
echo getIDanima("3"); // Anima Amoris [DubTech]
|
||||
echo getIDanima("dubtechno"); // Anima Amoris [DubTech]
|
||||
} catch (Exception $exfirst) {
|
||||
echo "unavailable";
|
||||
}
|
||||
// second
|
||||
echo ":;:";
|
||||
try {
|
||||
echo getIDanima("15"); // Anima Amoris [DubTech Mix]
|
||||
echo getIDanima("dubtechnomix"); // Anima Amoris [DubTech Mix]
|
||||
} catch (Exception $exsecond) {
|
||||
echo "unavailable";
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ try {
|
|||
// tenth
|
||||
echo ":;:";
|
||||
try {
|
||||
echo getIDanima("8"); // Anima Amoris [MinimalDeepTech]
|
||||
echo getIDanima("minimal"); // Anima Amoris [MinimalDeepTech]
|
||||
} catch (Exception $extenth) {
|
||||
echo "unavailable";
|
||||
}
|
||||
|
|
10
index.html
10
index.html
|
@ -54,13 +54,13 @@ a8" `Y88 88 88 88P' "8a 88 a8P_____88 a8" "" 88P' "8a
|
|||
<table class="tabb">
|
||||
<tr><td>
|
||||
<h5 align="right"><b><a href="http://anima.sknt.ru">Anima Amoris [Dub Techno]</a></b></h5>
|
||||
<h5 align="right"><b><a href="http://amoris.sknt.ru:8000">http://93.100.61.75:8000</a></b></h5>
|
||||
</td><td><audio controls preload="none"><source src="http://amoris.sknt.ru:8000/;" type="audio/mpeg"></audio></td><td>
|
||||
<h5 align="right"><b><a href="http://amoris.sknt.ru/dubtechno.mp3">http://amoris.sknt.ru</a></b></h5>
|
||||
</td><td><audio controls preload="none"><source src="http://amoris.sknt.ru/dubtechno.mp3" type="audio/mpeg"></audio></td><td>
|
||||
<h6 id="first"></h6>
|
||||
</td></tr><tr><td>
|
||||
<h5 align="right"><b><a href="http://anima.sknt.ru">Anima Amoris [DubTech Mix]</a></b></h5>
|
||||
<h5 align="right"><b><a href="http://amoris.sknt.ru:8024">http://93.100.61.75:8024</a></b></h5>
|
||||
</td><td><audio controls preload="none"><source src="http://amoris.sknt.ru:8024/;" type="audio/mpeg"></audio></td><td>
|
||||
<h5 align="right"><b><a href="http://amoris.sknt.ru/dubtechnomix.mp3">http://amoris.sknt.ru</a></b></h5>
|
||||
</td><td><audio controls preload="none"><source src="http://amoris.sknt.ru/dubtechnomix.mp3" type="audio/mpeg"></audio></td><td>
|
||||
<h6 id="second"></h6>
|
||||
</td></tr><tr><td>
|
||||
<h5 align="right"><b><a href="http://radcap.ru">Radio Caprice - Dub Techno</a></b></h5>
|
||||
|
@ -99,7 +99,7 @@ a8" `Y88 88 88 88P' "8a 88 a8P_____88 a8" "" 88P' "8a
|
|||
<h6 id="ninth"></h6>
|
||||
</td></tr><tr><td>
|
||||
<h5 align="right"><b><a href="http://anima.sknt.ru">Anima Amoris [Deep Techno]</a></b></h5>
|
||||
<h5 align="right"><b><a href="http://amoris.sknt.ru:8010">http://amoris.sknt.ru:8010</a></b></h5>
|
||||
<h5 align="right"><b><a href="http://amoris.sknt.ru/minimal.mp3">http://amoris.sknt.ru</a></b></h5>
|
||||
</td><td><audio controls preload="none"><source src="http://amoris.sknt.ru/minimal.mp3" type="audio/mpeg"></audio></td><td>
|
||||
<h6 id="tenth"></h6>
|
||||
</td><td>
|
||||
|
|
Loading…
Reference in New Issue