AnimaAmoris fixes

This commit is contained in:
ivan 2022-07-17 16:56:28 +03:00
parent 0255d0c7e1
commit 0ce64e3c5c
2 changed files with 9 additions and 9 deletions

8
id.php
View File

@ -44,7 +44,7 @@ function getIDice($streamingUrl, $interval, $offset = 0, $headers = true) {
} }
// Anima Amoris // Anima Amoris
function getIDanima($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'); $headers = array('User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0');
$ch = curl_init(); $ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_URL, $url);
@ -61,14 +61,14 @@ function getIDanima($amoris) {
// first // first
echo "id:;:"; echo "id:;:";
try { try {
echo getIDanima("3"); // Anima Amoris [DubTech] echo getIDanima("dubtechno"); // Anima Amoris [DubTech]
} catch (Exception $exfirst) { } catch (Exception $exfirst) {
echo "unavailable"; echo "unavailable";
} }
// second // second
echo ":;:"; echo ":;:";
try { try {
echo getIDanima("15"); // Anima Amoris [DubTech Mix] echo getIDanima("dubtechnomix"); // Anima Amoris [DubTech Mix]
} catch (Exception $exsecond) { } catch (Exception $exsecond) {
echo "unavailable"; echo "unavailable";
} }
@ -126,7 +126,7 @@ try {
// tenth // tenth
echo ":;:"; echo ":;:";
try { try {
echo getIDanima("8"); // Anima Amoris [MinimalDeepTech] echo getIDanima("minimal"); // Anima Amoris [MinimalDeepTech]
} catch (Exception $extenth) { } catch (Exception $extenth) {
echo "unavailable"; echo "unavailable";
} }

View File

@ -54,13 +54,13 @@ a8" `Y88 88 88 88P' "8a 88 a8P_____88 a8" "" 88P' "8a
<table class="tabb"> <table class="tabb">
<tr><td> <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://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> <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:8000/;" type="audio/mpeg"></audio></td><td> </td><td><audio controls preload="none"><source src="http://amoris.sknt.ru/dubtechno.mp3" type="audio/mpeg"></audio></td><td>
<h6 id="first"></h6> <h6 id="first"></h6>
</td></tr><tr><td> </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://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> <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:8024/;" type="audio/mpeg"></audio></td><td> </td><td><audio controls preload="none"><source src="http://amoris.sknt.ru/dubtechnomix.mp3" type="audio/mpeg"></audio></td><td>
<h6 id="second"></h6> <h6 id="second"></h6>
</td></tr><tr><td> </td></tr><tr><td>
<h5 align="right"><b><a href="http://radcap.ru">Radio Caprice - Dub Techno</a></b></h5> <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> <h6 id="ninth"></h6>
</td></tr><tr><td> </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://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> </td><td><audio controls preload="none"><source src="http://amoris.sknt.ru/minimal.mp3" type="audio/mpeg"></audio></td><td>
<h6 id="tenth"></h6> <h6 id="tenth"></h6>
</td><td> </td><td>