',PHP_EOL;
echo '
';
echo ' ';
echo ' ',PHP_EOL;
echo ' ',PHP_EOL;
}
static public function onClose() {
}
static public function addFile($file) {
array_push(MediaServe::getData('playlist'), $file);
}
static public function openFile($file) {
if (MediaServe::checkModule("Player")) {
Player::openFile($file);
}
}
static public function clearPlaylist() {
MediaServe::storeData('playlist', array());
}
static function changePathDetail($detail) {
if ($detail != self::PATH_SHORT && $detail != self::PATH_FULL) {
return NULL;
}
MediaServe::storeData('path_detail', $detail);
}
}
?>