diff --git a/view/channelPlaylistItems.php b/view/channelPlaylistItems.php index 5b13317a9..408bdede0 100644 --- a/view/channelPlaylistItems.php +++ b/view/channelPlaylistItems.php @@ -1,598 +1,598 @@
" . __('Sorry you do not have anything available') . "
"; } die(""); } $playListsObj = AVideoPlugin::getObjectData("PlayLists"); TimeLogEnd($timeLog2, __LINE__); $channelName = @$_GET['channelName']; unset($_GET['channelName']); $startC = microtime(true); TimeLogEnd($timeLog2, __LINE__); $countSuccess = 0; $get = array(); if (!empty($_GET['channelName'])) { $get = array('channelName' => $_GET['channelName']); } $program = AVideoPlugin::loadPluginIfEnabled('PlayLists'); foreach ($playlists as $key => $playlist) { @$timesC[__LINE__] += microtime(true) - $startC; $startC = microtime(true); $_REQUEST['current'] = 1; $_REQUEST['rowCount'] = 6; $videosArrayId = PlayList::getVideosIdFromPlaylist($playlist['id']); $_REQUEST['current'] = 1; $_REQUEST['rowCount'] = 6; @$timesC[__LINE__] += microtime(true) - $startC; $startC = microtime(true); $rowCount = $_POST['rowCount']; $_REQUEST['rowCount'] = 6; //getAllVideos($status = "viewable", $showOnlyLoggedUserVideos = false, $ignoreGroup = false, $videosArrayId = array(), $getStatistcs = false, $showUnlisted = false, $activeUsersOnly = true) if (empty($videosArrayId) && ($playlist['status'] == "favorite" || $playlist['status'] == "watch_later")) { unset($playlists[$key]); continue; } else if (empty($videosArrayId)) { $videosP = array(); } else { $videosP = Video::getAllVideos("viewable", false, true, $videosArrayId, false, true); }//var_dump($videosArrayId, $videosP); exit; $totalDuration = 0; foreach ($videosP as $value) { $totalDuration += durationToSeconds($value['duration']); } $_REQUEST['rowCount'] = $rowCount; @$timesC[__LINE__] += microtime(true) - $startC; $startC = microtime(true); //_error_log("channelPlaylist videosP: ".json_encode($videosP)); $videosP = PlayList::sortVideos($videosP, $videosArrayId); @$timesC[__LINE__] += microtime(true) - $startC; $startC = microtime(true); //_error_log("channelPlaylist videosP2: ".json_encode($videosP)); //_error_log("channelPlaylist videosArrayId: ".json_encode($videosArrayId)); $playListButtons = AVideoPlugin::getPlayListButtons($playlist['id']); @$timesC[__LINE__] += microtime(true) - $startC; $startC = microtime(true); $countSuccess++; ?>
()
embedCodeTemplate); echo ($code); ?>'/> - +
thumbsGif; $poster = $images->thumbsJpg; $category = new Category($serie['categories_id']); ?>
<?php echo $serie['title']; ?>
getIconClass())) { ?> getName(); ?> label === __("Group")) { ?> text; ?>

thumbsGif; $poster = $images->thumbsJpg; $class = ""; ?>
<?php echo $value['title']; ?>

label === __("Group")) { ?> text; ?>
doNotDisplayViews)) { ?>

\ No newline at end of file