From 0ce64e3c5c51cfc9f04630540f8cdc020565814b Mon Sep 17 00:00:00 2001 From: zlax Date: Sun, 17 Jul 2022 16:56:28 +0300 Subject: [PATCH] AnimaAmoris fixes --- id.php | 8 ++++---- index.html | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/id.php b/id.php index 06acc2f..9acf172 100644 --- a/id.php +++ b/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"; } diff --git a/index.html b/index.html index 19fdaaa..c8ba870 100644 --- a/index.html +++ b/index.html @@ -54,13 +54,13 @@ a8" `Y88 88 88 88P' "8a 88 a8P_____88 a8" "" 88P' "8a
Anima Amoris [Dub Techno]
-
http://93.100.61.75:8000
-
+
http://amoris.sknt.ru
+
Anima Amoris [DubTech Mix]
-
http://93.100.61.75:8024
-
+
http://amoris.sknt.ru
+
Radio Caprice - Dub Techno
@@ -99,7 +99,7 @@ a8" `Y88 88 88 88P' "8a 88 a8P_____88 a8" "" 88P' "8a
Anima Amoris [Deep Techno]
-
http://amoris.sknt.ru:8010
+
http://amoris.sknt.ru