blob: e892584cdd66f9b578fbfed240992004d359c2ca (
plain) (
tree)
|
|
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="http://arf20.com/style.css">
<title>ARFNET</title>
</head>
<body>
<header><a href="/">
<img src="http://arf20.com/arfnet_logo.png" width="64"><span class="title"><strong>ARFNET</strong></span>
</a></header>
<hr>
<main>
<h2 class="center">Radio</h2>
<p>Listen to ARFNET Internet Radio<br>
Weird nice music arf20 likes</p>
<audio controls>
<source src="/stream" type="audio/ogg">
</audio>
<pre>
<?php
$host = "192.168.4.6";
$output = null;
exec("/usr/bin/mpc --host=$host -f \"[[%artist% - ][%album% - ]%title%]|[%file%]\"", $output);
echo $output[0] . "\n";
echo $output[1];
?>
</pre>
</main>
</body>
</html>
|