<?php

include_once 'libraries/CentoLast.php';
$server = new CentoLast();
$server->setLastFM('xxxxxxxxxxxxxxxxxxxx', 'xxxxxxxxxxxxxx');
$server->setCentova('http://78.129.181.183:2199', 'xxxxx', 'xxxxxxxxx');
$server->cache();
<?php

header("content-type:text/json");
include_once 'libraries/CentoLast.php';
$server = new CentoLast();
$server->setCentova('http://78.129.181.183:2199', 'xxxxx', 'xxxxxxxxx');
echo json_encode($server->getServerStatus());
<?php

header("content-type:text/json");
include_once 'libraries/CentoLast.php';
$server = new CentoLast();
$server->setLastFM('xxxxxxxxxxxxxxxxxxxx', 'xxxxxxxxxxxxxx');
$server->setCentova('http://78.129.181.183:2199', 'xxxxx', 'xxxxxxxxx');
echo $server->getTracksHistory();
<?php

header("content-type:text/json");
include_once 'libraries/CentoLast.php';
$server = new CentoLast();
$server->setLastFM('xxxxxxxxxxxxxxxxxxxx', 'xxxxxxxxxxxxxx');
$server->setCentova('http://78.129.181.183:2199', 'xxxxx', 'xxxxxxxxx');
echo json_encode($server->getCurrentTrack());