initial commit

This commit is contained in:
2016-10-23 20:05:05 +02:00
commit 2b6108425b
56 changed files with 9071 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
<?php
$line1 = file_get_contents( "/tmp/radiod/line1.txt" );
$czyplayer = strpos($line1, "*");
if ($czyplayer != false) {
list($realHost,)=explode(':',$_SERVER['HTTP_HOST']);
echo '<audio controls><source src="http://';
echo $realHost;
echo ':8001/mpd" type="audio/mp3">Your browser does not support the audio element.</audio>';
}
?>