add deep tech streams

This commit is contained in:
2026-02-02 11:49:14 +03:00
parent 0ce64e3c5c
commit 799d8efabc
3 changed files with 62 additions and 32 deletions

40
id.php
View File

@@ -10,6 +10,7 @@ function getIDshout($radioip,$radioport,$postfix = "GET /7.html HTTP/1.1\nUser-A
if ($exploded[6] == '' || $exploded[6] == '</body></html>') {
$text = 'streaming'; } else { $text = $exploded[6]; }
$id = str_replace("</body></html>","",$text);
$id = str_replace(" (minimalmix.com)","",$text);
} else { return false; }
fclose($open);
return $id;
@@ -52,9 +53,14 @@ function getIDanima($amoris) {
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
$data = curl_exec($ch);
curl_close($ch);
$data = json_decode($data, true);
if (!empty($data)) $data = $data["songtitle"];
if (substr($data, -7) == "sknt.ru") $data = stristr($data, " * anima.sknt.ru", true);
// metadata.dubtechno({"uniquelisteners":19,"songtitle":"Gblanco - Inner Elusions * amoris.sknt.ru"});
$datajson = json_decode($data, true);
if (!empty($datajson)) $data = $data["songtitle"];
$data = strstr($data, 'songtitle":"');
$data = substr($data, 12);
if (substr($data, -11) == 'sknt.ru"});') $data = stristr($data, ' * amoris.sknt.ru"});', true);
return $data;
}
@@ -82,7 +88,7 @@ try {
// fourth
echo ":;:";
try {
echo getIDice("http://185.61.124.104:8066/live", 19200); // Loca FM Dub Techno
echo getIDice("https://listen5.myradio24.com/ddtradio", 19200); // Deep Dub Tech radio
} catch (Exception $exfourth) {
echo "unavailable";
}
@@ -90,8 +96,9 @@ try {
echo ":;:";
try {
$fifthIDice = getIDice("http://94.130.113.214:8000/dubtechno", 19200); // Schizoid Dub Techno
if (bin2hex($fifthIDice) == "fffe66202d20fffe52") echo "online streaming";
if (bin2hex($fifthIDice) == "fffe66202d20fffe52" || "fffe53202d20fffe53" ) echo "online streaming";
else echo $fifthIDice;
// else echo (bin2hex($fifthIDice));
} catch (Exception $exfifth) {
echo "unavailable";
}
@@ -112,24 +119,37 @@ try {
// eighth
echo ":;:";
try {
echo getIDice("https://c2.radioboss.fm:18382/stream", 19200); // dubte.ch
echo getIDanima("minimal"); // Anima Amoris [MinimalDeepTech]
} catch (Exception $exeighth) {
echo "unavailable";
}
// ninth
echo ":;:";
try {
echo getIDice("http://prem2.di.fm:80/dubtechno_hi?266a3dc03aaa30a0807d9062", 19200); // Digitally Imported Dub Techno
} catch (Exception $exninth) {
echo getIDanima("deeptech"); // Anima Amoris [Deep Tech House]
} catch (Exception $extenth) {
echo "unavailable";
}
// tenth
echo ":;:";
try {
echo getIDanima("minimal"); // Anima Amoris [MinimalDeepTech]
echo getIDice("https://best-of-techno.stream.laut.fm/best-of-techno", 19200); // Best of techno
} catch (Exception $extenth) {
echo "unavailable";
}
// eleventh
echo ":;:";
try {
echo getIDshout("148.251.43.231","8750"); // Minimal Mix Radio
} catch (Exception $exseventh) {
echo "unavailable";
}
// twelfth
echo ":;:";
//try {
// echo getIDice("http://prem2.di.fm:80/dubtechno_hi?266a3dc03aaa30a0807d9062", 19200); // Digitally Imported Dub Techno
//} catch (Exception $exninth) {
echo "unavailable (commercial)";
//}
echo ":;:";
?>