1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
Oinktube/plugin/PlayLists/collections.php
DanielnetoDotCom 890a14d244 1. add seasons support that will group multiple series as part of a big serie.
2. update the netflix layout to display more details about the selected series.
2021-02-24 16:23:11 -03:00

15 lines
499 B
PHP

<?php
global $global, $config;
if (!isset($global['systemRootPath'])) {
require_once '../../videos/configuration.php';
}
require_once $global['systemRootPath'] . 'objects/playlist.php';
require_once $global['systemRootPath'] . 'plugin/PlayLists/PlayListElement.php';
if (!User::isAdmin() && !PlayList::canSee($_GET['playlists_id'], User::getId())) {
die('{"error":"' . __("Permission denied") . '"}');
}
$playList = PlayList::getVideosFromPlaylist($_GET['playlists_id']);