1 Commits

Author SHA1 Message Date
d270f2e2b4 - Force .hide handling in play and track page. 2026-06-20 11:15:10 +02:00

View File

@@ -2935,7 +2935,7 @@ function lmb_play_page( $play_type, $play_id, $play_priority)
$play_path = lmb_play_path_get( $play_type, $play_id, $play_priority); $play_path = lmb_play_path_get( $play_type, $play_id, $play_priority);
if( file_exists( $play_path)) if( file_exists( $play_path) && ( ! file_exists( "{$play_path}/.hide" ) || lmb_admin_is()))
{ {
$play_info = lmb_play_info_get( $play_type, $play_id, $play_priority); $play_info = lmb_play_info_get( $play_type, $play_id, $play_priority);
@@ -3856,6 +3856,9 @@ function lmb_track_page( $play_type, $play_id, $play_priority, $track_id)
$play_path = lmb_play_path_get( $play_type, $play_id, $play_priority); $play_path = lmb_play_path_get( $play_type, $play_id, $play_priority);
if( file_exists( $play_path) && ( ! file_exists( "{$play_path}/.hide" ) || lmb_admin_is()))
{
$skin_path = "{$play_path}/skin"; $skin_path = "{$play_path}/skin";
$track_title = lmb_title_get( $play_type, $play_id, $play_priority, $track_id); $track_title = lmb_title_get( $play_type, $play_id, $play_priority, $track_id);
$track_fulltitle = lmb_fulltitle_get( $play_type, $play_id, $play_priority, $track_id); $track_fulltitle = lmb_fulltitle_get( $play_type, $play_id, $play_priority, $track_id);
@@ -3864,6 +3867,11 @@ function lmb_track_page( $play_type, $play_id, $play_priority, $track_id)
lmb_track_body( $play_type, $play_id, $play_priority, $track_id, $skin_path); lmb_track_body( $play_type, $play_id, $play_priority, $track_id, $skin_path);
lmb_footer( $skin_path); lmb_footer( $skin_path);
} }
else
{
lmb_redirect_page( "");
}
}