+schizoid,+dubtechno.com.br
This commit is contained in:
parent
08b86039ac
commit
f68931f696
|
@ -0,0 +1,27 @@
|
|||
this program is released under the DWTW license
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under the terms of the Do What Thou Wilt License.
|
||||
|
||||
Boundless Public License
|
||||
DO WHAT THOU WILT
|
||||
TO PUBLIC LICENSE
|
||||
|
||||
Version 2.55
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it in full or in part is allowed without any restrictions.
|
||||
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. Do what thou wilt shall be the whole of the Law.
|
||||
|
||||
DWTWL – a license with a single requirement: DO WHAT THOU WILT
|
||||
|
||||
The license provides more freedom than any other one (such as GPL or BSD) and does not require saving the license text on copying.
|
||||
|
||||
DWTWL – an accomplished and eligible license for free text, code and any other symbols (including the software, documentation and artwork).
|
||||
|
||||
The license does not contain a "no warranty" clause. DWTWL can be used in countries that do not legally acknowledge the transition to public domain.
|
||||
|
||||
Summary:
|
||||
|
||||
An author-creator gives their source code to the world for free, without becoming distracted by worldly thinking regarding how and why the others will use it.
|
|
@ -2,4 +2,4 @@ dub techno shoutcast streams
|
|||
|
||||
https://dub.tech.soundragon.su/
|
||||
|
||||
under DWTWL 2.5 license: https://soundragon.su/license/license.html
|
||||
under DWTWL 2.55 license: https://soundragon.su/license/license.html
|
||||
|
|
|
@ -1,12 +1,8 @@
|
|||
/**
|
||||
* anthrstlsht.css (another style sheet) v0.8
|
||||
* DWTWL 2.5 license: https://soundragon.su/license/license.html
|
||||
* DWTWL 2.55 license: https://soundragon.su/license/license.html
|
||||
*/
|
||||
|
||||
html {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: Ubuntu, sans-serif;
|
||||
|
@ -41,16 +37,12 @@ h4 {
|
|||
|
||||
h5 {
|
||||
font-size: 0.7rem;
|
||||
-moz-text-shadow:0 0 10px #fff;
|
||||
-webkit-text-shadow:0 0 10px #fff;
|
||||
text-shadow:0 0 10px #fff;
|
||||
text-shadow:0 0 5px #fff;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 1.2rem;
|
||||
-moz-text-shadow: 0 0 10px #fff;
|
||||
-webkit-text-shadow: 0 0 10px #fff;
|
||||
text-shadow: 0 0 10px #fff;
|
||||
text-shadow: 0 0 5px #fff;
|
||||
}
|
||||
|
||||
hr {
|
||||
|
|
95
id.php
95
id.php
|
@ -1,56 +1,25 @@
|
|||
<?php
|
||||
|
||||
echo "id:;:";
|
||||
|
||||
// Shoutcast
|
||||
function getID($radioip,$radioport,$postfix = "GET /7.html HTTP/1.1\nUser-Agent:Mozilla\n\n")
|
||||
{
|
||||
function getIDshout($radioip,$radioport,$postfix = "GET /7.html HTTP/1.1\nUser-Agent:Mozilla\n\n") {
|
||||
$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] == '</body></html>')
|
||||
{ $text = 'streaming'; } else { $text = $exploded[6]; }
|
||||
if ($exploded[6] == '' || $exploded[6] == '</body></html>') {
|
||||
$text = 'streaming'; } else { $text = $exploded[6];
|
||||
}
|
||||
$id = str_replace("</body></html>","",$text);
|
||||
} else { return false; }
|
||||
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)
|
||||
{
|
||||
function getIDice($streamingUrl, $interval, $offset = 0, $headers = true) {
|
||||
$needle = 'StreamTitle=';
|
||||
$ua = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36';
|
||||
|
||||
$opts = [
|
||||
'http' => [
|
||||
'method' => 'GET',
|
||||
|
@ -58,42 +27,42 @@ function getMp3StreamTitle($streamingUrl, $interval, $offset = 0, $headers = tru
|
|||
'user_agent' => $ua
|
||||
]
|
||||
];
|
||||
|
||||
if (($headers = get_headers($streamingUrl)))
|
||||
foreach ($headers as $h)
|
||||
if (strpos(strtolower($h), 'icy-metaint') !== false && ($interval = explode(':', $h)[1]))
|
||||
break;
|
||||
|
||||
$context = stream_context_create($opts);
|
||||
|
||||
if ($stream = fopen($streamingUrl, 'r', false, $context))
|
||||
{
|
||||
if ($stream = fopen($streamingUrl, 'r', false, $context)) {
|
||||
$buffer = stream_get_contents($stream, $interval, $offset);
|
||||
fclose($stream);
|
||||
|
||||
if (strpos($buffer, $needle) !== false)
|
||||
{
|
||||
if (strpos($buffer, $needle) !== false) {
|
||||
$title = explode($needle, $buffer)[1];
|
||||
return substr($title, 1, strpos($title, ';') - 2);
|
||||
}
|
||||
else
|
||||
} else
|
||||
return getMp3StreamTitle($streamingUrl, $interval, $offset + $interval, false);
|
||||
}
|
||||
else
|
||||
} else
|
||||
throw new Exception("Unable to open stream [{$streamingUrl}]");
|
||||
}
|
||||
|
||||
echo getMp3StreamTitle('http://audio-online.net:8015/live', 19200);
|
||||
echo ":;:";
|
||||
|
||||
$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 ":;:";
|
||||
|
||||
echo getMp3StreamTitle('http://pub2.diforfree.org:8000/di_dubtechno_hi', 19200);
|
||||
echo ":;:";
|
||||
echo ":;:";
|
||||
}
|
||||
|
||||
echo "id:;:";
|
||||
echo stristr(getIDshout("93.100.61.75","8000")," * anima.sknt.ru",true); // Anima Amoris [Dub Techno]
|
||||
echo ":;:";
|
||||
echo stristr(getIDshout("93.100.61.75","8024")," * anima.sknt.ru",true); // Anima Amoris [DubTech Mix]
|
||||
echo ":;:";
|
||||
echo getIDshout("67.212.165.106","8144"); // arctic dub (sursumcorda)
|
||||
// // outdated:
|
||||
// echo getIDshout("91.237.213.34","8008"); // electronicmusic.fm - Dub
|
||||
echo ":;:";
|
||||
echo getIDshout("79.120.39.202","9009"); // Radio Caprice - Dub Techno
|
||||
echo ":;:";
|
||||
echo getIDice("http://audio-online.net:8015/live", 19200); // Loca FM Dub Techno
|
||||
echo ":;:";
|
||||
echo getIDshout("sonus.fm","8000","GET /7.html?sid=3 HTTP/1.1\nUser-Agent:Mozilla\n\n"); // Chillkyway - outer space
|
||||
echo ":;:";
|
||||
echo getIDice("http://pub2.diforfree.org:8000/di_dubtechno_hi", 19200); // Digitally Imported Dub Techno
|
||||
echo ":;:";
|
||||
echo getIDshout("173.236.30.162","8022"); // Dub Techno Statio
|
||||
echo ":;:";
|
||||
echo getIDice("http://94.130.113.214:8000/dubtechno", 19200); // Schizoid Dub Techno
|
||||
echo ":;:";
|
||||
?>
|
||||
|
|
58
index.html
58
index.html
|
@ -12,8 +12,9 @@ a8" `Y88 88 88 88P' "8a 88 a8P_____88 a8" "" 88P' "8a
|
|||
"8a, ,d88 "8a, ,a88 88b, ,a8" 88, "8b, ,aa "8a, ,aa 88 88
|
||||
`"8bbdP"Y8 `"YbbdP'Y8 8Y"Ybbd8"' "Y888 `"Ybbd8"' `"Ybbd8"' 88 88
|
||||
-->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Ubuntu:regular&subset=Latin,Cyrillic">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="description" content="dub techno radio">
|
||||
<meta name="keywords" content="dub techno radio,dub techno stream,dub techno radio stream,dubtechno radio,dub techno,dub,techno,tech,deep,deep techno,dubtechno,radio,web radio,webradio,stream,dubtech">
|
||||
<link rel="stylesheet" type="text/css" href="anthrstlsht.css">
|
||||
<title>dub tech</title>
|
||||
<style type="text/css">
|
||||
|
@ -21,8 +22,7 @@ a8" `Y88 88 88 88P' "8a 88 a8P_____88 a8" "" 88P' "8a
|
|||
.tabb { display: table-cell; vertical-align: middle; }
|
||||
body { background-color: #888; background: url(bk.jpg) repeat-y; }
|
||||
</style>
|
||||
<!-- script by bodqhrohro -->
|
||||
<script type="text/javascript">
|
||||
<script type="text/javascript"> <!-- script by bodqhrohro -->
|
||||
function allID () {
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.open('GET', 'id.php');
|
||||
|
@ -34,11 +34,12 @@ a8" `Y88 88 88 88P' "8a 88 a8P_____88 a8" "" 88P' "8a
|
|||
document.getElementById("first").innerHTML = kvID[1];
|
||||
document.getElementById("second").innerHTML = kvID[2];
|
||||
document.getElementById("third").innerHTML = kvID[3];
|
||||
// document.getElementById("fourth").innerHTML = kvID[4];
|
||||
document.getElementById("fifth").innerHTML = kvID[4];
|
||||
document.getElementById("sixth").innerHTML = kvID[5];
|
||||
document.getElementById("seventh").innerHTML = kvID[6];
|
||||
document.getElementById("eighth").innerHTML = kvID[7];
|
||||
document.getElementById("fourth").innerHTML = kvID[4];
|
||||
document.getElementById("fifth").innerHTML = kvID[5];
|
||||
document.getElementById("sixth").innerHTML = kvID[6];
|
||||
document.getElementById("seventh").innerHTML = kvID[7];
|
||||
document.getElementById("eighth").innerHTML = kvID[8];
|
||||
document.getElementById("ninth").innerHTML = kvID[9];
|
||||
})
|
||||
}
|
||||
}
|
||||
|
@ -59,45 +60,50 @@ a8" `Y88 88 88 88P' "8a 88 a8P_____88 a8" "" 88P' "8a
|
|||
<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>
|
||||
</td><td><audio controls preload="none"><source src="http://amoris.sknt.ru:8024/;" type="audio/mpeg"></audio></td><td>
|
||||
<h6 id="third"></h6>
|
||||
<h6 id="second"></h6>
|
||||
</td></tr><tr><td>
|
||||
<h5 align="right"><b><a href="http://sursumcorda.ning.com">arctic dub (sursumcorda)</a></b></h5>
|
||||
<h5 align="right"><b><a href="http://67.212.165.106:8144">http://67.212.165.106:8144</a></b></h5>
|
||||
</td><td><audio controls preload="none"><source src="http://67.212.165.106:8144/;" type="audio/mpeg"></audio></td><td>
|
||||
<h6 id="second"></h6>
|
||||
</td></tr><tr><td>
|
||||
<!-- outdated:<h5 align="right"><b><a href="http://dubtechno.com.br">Dub Techno Station</a></b></h5>
|
||||
<h5 align="right"><b><a href="http://173.236.30.162:8022">http://173.236.30.162:8022</a></b></h5>
|
||||
</td><td><audio controls preload="none"><source src="http://173.236.30.162:8022/stream" type="audio/mpeg"></audio></td><td>
|
||||
<h6 id="third"></h6> -->
|
||||
<h6 id="third"></h6>
|
||||
<!-- outdated: </td></tr><tr><td>
|
||||
<h5 align="right"><b><a href="http://electronicmusic.fm">electronicmusic.fm - Dub</a><br>
|
||||
<a href="http://91.237.213.34:8008">http://91.237.213.34:8008</a></b></h5>
|
||||
</td><td><audio controls preload="none"><source src="http://91.237.213.34:8008/;" type="audio/mpeg"></audio></td><td>
|
||||
<h6 id="fourth"></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://79.120.39.202:9009">http://79.120.39.202:9009</a></b></h5>
|
||||
</td><td><audio controls preload="none"><source src="http://79.120.39.202:9009/;" type="audio/mpeg"></audio></td><td>
|
||||
<h6 id="fifth"></h6>
|
||||
</td></tr><tr><td>
|
||||
<h6 id="fourth"></h6>
|
||||
</td></tr><tr><td>
|
||||
<h5 align="right"><b><a href="http://www.locafm.com/dub-techno/player.html">Loca FM Dub Techno</a></b></h5>
|
||||
<h5 align="right"><b><a href="http://audio-online.net:8015/live">http://audio-online.net:8015/live</a></b></h5>
|
||||
</td><td><audio controls src="http://audio-online.net:8015/live" preload="none"></audio></td><td>
|
||||
<h6 id="sixth"></h6>
|
||||
</td></tr><tr><td>
|
||||
<h6 id="fifth"></h6>
|
||||
</td></tr><tr><td>
|
||||
<h5 align="right"><b><a href="http://www.chillkyway.net/">Chillkyway - outer space</a></b></h5>
|
||||
<h5 align="right"><b><a href="http://sonus.fm:8000/index.html?sid=3">http://sonus.fm:8000</a></b></h5>
|
||||
</td><td><audio controls preload="none"><source src="http://sonus.fm:8000/stream/3/" type="audio/mpeg"></audio></td><td>
|
||||
<h6 id="seventh"></h6>
|
||||
</td></tr><tr><td>
|
||||
<h6 id="sixth"></h6>
|
||||
</td></tr><tr><td>
|
||||
<h5 align="right"><b><a href="http://www.di.fm/dubtechno">Digitally Imported Dub Techno</a></b></h5>
|
||||
<h5 align="right"><b><a href="http://pub2.diforfree.org:8000/di_dubtechno_hi">http://prem2.di.fm/dubtechno_hi</a></b></h5>
|
||||
</td><td><audio controls src="http://pub2.diforfree.org:8000/di_dubtechno_hi" preload="none"></audio></td><td>
|
||||
<h6 id="seventh"></h6>
|
||||
</td></tr><tr><td>
|
||||
<h5 align="right"><b><a href="http://dubtechno.com.br">Dub Techno Station</a></b></h5>
|
||||
<h5 align="right"><b><a href="http://173.236.30.162:8022">http://173.236.30.162:8022</a></b></h5>
|
||||
</td><td><audio controls preload="none"><source src="http://173.236.30.162:8022/stream" type="audio/mpeg"></audio></td><td>
|
||||
<h6 id="eighth"></h6>
|
||||
</td><td>
|
||||
</td></tr><tr><td colspan="3">
|
||||
<br><h4 align="center"> </h4>
|
||||
</td></tr><tr><td>
|
||||
<h5 align="right"><b><a href="http://schizoid.in/">Schizoid Dub Techno</a></b></h5>
|
||||
<h5 align="right"><b><a href="http://94.130.113.214:8000/dubtechno">http://schizoid.in:8000/dubtechno</a></b></h5>
|
||||
</td><td><audio controls preload="none"><source src="http://94.130.113.214:8000/dubtechno" type="audio/mpeg"></audio></td><td>
|
||||
<h6 id="ninth"></h6>
|
||||
</td><td>
|
||||
</td></tr><tr><td colspan="3">
|
||||
<br><h4 align="center"> </h4>
|
||||
</td></tr>
|
||||
</table></div>
|
||||
<!--
|
||||
|
|
Loading…
Reference in New Issue