blob: 1ec9d49b5a2abf5fd194ece78a397c7b2236d1e6 (
plain) (
tree)
|
|
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="https://arf20.com/style.css">
<title>ARFNET</title>
</head>
<body>
<header><a href="http://arf20.com">
<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>
|