Exemple #1
0
<?php

define('NO_SESSION', '1');
require_once '../lib/init.php';
if (!AmpConfig::get('upnp_backend')) {
    echo "Disabled.";
    exit;
}
if ($_GET['btnSend'] || $_GET['btnSendAuto']) {
    $msIP = 1;
    Upnp_Api::sddpSend($msIP);
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- Propulsed by Ampache | ampache.org -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php 
if ($_GET['btnSendAuto']) {
    echo '<meta http-equiv="refresh" content="1">';
}
?>
<title>Ampache UPnP</title>
<style type="text/css" media="screen">
body {
    color:black;
    background-color:white;
    background-image:url(images/upnp.jpg);
    background-repeat:no-repeat;
    background-position:50% 50%;