From 08b86039acb6667f4bef5a1c08d5f0ec6eaa0a50 Mon Sep 17 00:00:00 2001 From: zlaxy Date: Fri, 10 Nov 2017 22:44:03 +0300 Subject: [PATCH] -dubtechno.com.br | + Anima Amoris [DubTech Mix] --- id.php | 77 ++++++++++++++++++++--------------- index.html | 117 ++++++++++++++++++++++++++++------------------------- 2 files changed, 106 insertions(+), 88 deletions(-) diff --git a/id.php b/id.php index e0a986c..43639d5 100644 --- a/id.php +++ b/id.php @@ -7,18 +7,43 @@ function getID($radioip,$radioport,$postfix = "GET /7.html HTTP/1.1\nUser-Agent: { $open = fsockopen($radioip,$radioport,$errno,$errstr,'.5'); if ($open) { - fputs($open,$postfix); - stream_set_timeout($open,'1'); - $read = fread($open,255); - $exploded = explode(",",$read); - if($exploded[6] == '' || $exploded[6] == '') - { $text = 'streaming'; } else { $text = $exploded[6]; } - $id = str_replace("","",$text); + fputs($open,$postfix); + stream_set_timeout($open,'1'); + $read = fread($open,255); + $exploded = explode(",",$read); + if($exploded[6] == '' || $exploded[6] == '') + { $text = 'streaming'; } else { $text = $exploded[6]; } + $id = str_replace("","",$text); } else { return false; } - fclose($open); - return $id; + fclose($open); + return $id; } + $radioip = "93.100.61.75"; + $radioport = "8000"; + echo getID($radioip,$radioport); + echo ":;:"; + $radioip = "67.212.165.106"; + $radioport = "8144"; + echo getID($radioip,$radioport); + echo ":;:"; + $radioip = "93.100.61.75"; + $radioport = "8024"; + echo getID($radioip,$radioport); + echo ":;:"; +// // outdated: +// $radioip = "173.236.30.162"; +// $radioport = "8022"; +// echo getID($radioip,$radioport); +// // outdated: +// $radioip = "91.237.213.34"; +// $radioport = "8008"; +// echo getID($radioip,$radioport).":;:"; + $radioip = "79.120.39.202"; + $radioport = "9009"; + echo getID($radioip,$radioport); + echo ":;:"; + // Icecast // https://stackoverflow.com/a/17109654 function getMp3StreamTitle($streamingUrl, $interval, $offset = 0, $headers = true) @@ -58,29 +83,17 @@ function getMp3StreamTitle($streamingUrl, $interval, $offset = 0, $headers = tru throw new Exception("Unable to open stream [{$streamingUrl}]"); } - $radioip = "93.100.61.75"; - $radioport = "8000"; - echo getID($radioip,$radioport).":;:"; - $radioip = "67.212.165.106"; - $radioport = "8144"; - echo getID($radioip,$radioport).":;:"; - $radioip = "173.236.30.162"; - $radioport = "8022"; - echo getID($radioip,$radioport).":;:"; -// // outdated: -// $radioip = "91.237.213.34"; -// $radioport = "8008"; -// echo getID($radioip,$radioport).":;:"; - $radioip = "79.120.39.202"; - $radioport = "9009"; - echo getID($radioip,$radioport).":;:"; + echo getMp3StreamTitle('http://audio-online.net:8015/live', 19200); + echo ":;:"; - echo getMp3StreamTitle('http://audio-online.net:8015/live', 19200).":;:"; - echo getMp3StreamTitle('http://prem2.di.fm/dubtechno_hi?95f925a23d7093d9f7156fc5', 19200).":;:"; + $radioip = "sonus.fm"; + $radioport = "8000"; + $postfix = "GET /7.html?sid=3 HTTP/1.1\nUser-Agent:Mozilla\n\n"; + echo getID($radioip,$radioport,$postfix); + echo ":;:"; - $radioip = "136.243.16.19"; - $radioport = "8000"; - $postfix = "GET /7.html?sid=3 HTTP/1.1\nUser-Agent:Mozilla\n\n"; - echo getID($radioip,$radioport,$postfix).":;:"; + echo getMp3StreamTitle('http://pub2.diforfree.org:8000/di_dubtechno_hi', 19200); + echo ":;:"; + echo ":;:"; -?> \ No newline at end of file +?> diff --git a/index.html b/index.html index 4acacf1..0613dc8 100644 --- a/index.html +++ b/index.html @@ -17,32 +17,32 @@ a8" `Y88 88 88 88P' "8a 88 a8P_____88 a8" "" 88P' "8a dub tech - + @@ -51,45 +51,50 @@ a8" `Y88 88 88 88P' "8a 88 a8P_____88 a8" "" 88P' "8a
-
Anima Amoris [Dub Techno]
-
http://93.100.61.75:8000
-
-
+
Anima Amoris [Dub Techno]
+
http://93.100.61.75:8000
+
+
-
arctic dub (sursumcorda)
-
http://67.212.165.106:8144
-
-
+
Anima Amoris [DubTech Mix]
+
http://93.100.61.75:8024
+
+
-
Dub Techno Station
-
http://173.236.30.162:8022
-
-
+
arctic dub (sursumcorda)
+
http://67.212.165.106:8144
+
+
+
+ +
electronicmusic.fm - Dub
+ http://91.237.213.34:8008
+
+
-->
-
Radio Caprice - Dub Techno
-
http://79.120.39.202:9009
-
-
+
Radio Caprice - Dub Techno
+
http://79.120.39.202:9009
+
+
-
Loca FM Dub Techno
-
http://audio-online.net:8015/live
-
-
+
Loca FM Dub Techno
+
http://audio-online.net:8015/live
+
+
-
Digitally Imported Dub Techno
-
http://prem2.di.fm/dubtechno_hi
-
-
+
Chillkyway - outer space
+
http://sonus.fm:8000
+
+
-
Chillkyway - outer space
-
http://sonus.fm:8000
-
-
+
Digitally Imported Dub Techno
+
http://prem2.di.fm/dubtechno_hi
+
+