From 799d8efabc9b1f982428554d43cc07db758dac2e Mon Sep 17 00:00:00 2001 From: zlax Date: Mon, 2 Feb 2026 11:49:14 +0300 Subject: [PATCH] add deep tech streams --- README.md | 2 +- id.php | 40 ++++++++++++++++++++++++++++++---------- index.html | 52 +++++++++++++++++++++++++++++++--------------------- 3 files changed, 62 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index ba3c387..eba512d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ dub techno shoutcast and icecast streams -http://dub.tech.soundragon.su +http://is3.ussr.win/dubtech under DWTWL 2.55 license diff --git a/id.php b/id.php index 9acf172..8d40460 100644 --- a/id.php +++ b/id.php @@ -10,6 +10,7 @@ function getIDshout($radioip,$radioport,$postfix = "GET /7.html HTTP/1.1\nUser-A if ($exploded[6] == '' || $exploded[6] == '') { $text = 'streaming'; } else { $text = $exploded[6]; } $id = str_replace("","",$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 ":;:"; - ?> diff --git a/index.html b/index.html index c8ba870..e73daf1 100644 --- a/index.html +++ b/index.html @@ -14,13 +14,10 @@ a8" `Y88 88 88 88P' "8a 88 a8P_____88 a8" "" 88P' "8a --> - + dub tech -