Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Feb 6, 2025
1 parent e56dbca commit d783caf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/Live/Live.php
Original file line number Diff line number Diff line change
Expand Up @@ -2326,7 +2326,7 @@ public static function _getStats($live_servers_id = 0, $force_recreate = false)
$app['method'] = 'Live::_getStats';
$app['titleSet'] = $titleSet . ' => ' . $app['title'];
//var_dump($app['isPrivate'],$app['key']);exit;
if (!self::isApplicationListed($app['key']) || ($VideoPlaylistSchedulerIsEnabled && VideoPlaylistScheduler::iskeyShowScheduled($app['key']))) {
if (!self::isApplicationListed($app['key']) || ($VideoPlaylistSchedulerIsEnabled && VideoPlaylistScheduler::iskeyShowScheduledHidden($app['key']))) {
$obj->hidden_applications[] = $app;
} else {
$obj->applications[] = $app;
Expand Down Expand Up @@ -3761,7 +3761,7 @@ public static function getValidNotOnlineLiveIndex($key, $live_index)
if (empty($live_index)) {
return 1;
}
if (AVideoPlugin::isEnabled('VideoPlaylistScheduler') && VideoPlaylistScheduler::iskeyShowScheduled("$key-$live_index")) {
if (AVideoPlugin::isEnabled('VideoPlaylistScheduler') && VideoPlaylistScheduler::iskeyShowScheduledHidden("$key-$live_index")) {
// it is a VideoPlaylistScheduler do not change it
return $live_index;
}
Expand Down

0 comments on commit d783caf

Please sign in to comment.