Catchup play fix

This commit is contained in:
euzu
2025-06-06 11:17:42 +02:00
parent b9f65b61a7
commit 0192d7b6a6
5 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ pub fn rewrite_hls(user: &ProxyUserCredentials, props: &RewriteHlsProps) -> Stri
rewrite_hls_url(&props.hls_url, line)
};
if let Some(user_token) = &props.user_token {
if let Some(token) = create_hls_session_token_and_url(props.secret, *user_token, &target_url) {
if let Some(token) = create_hls_session_token_and_url(props.secret, user_token, &target_url) {
let url = format!(
"{}/{HLS_PREFIX}/{}/{}/{}/{}/{}",
props.base_url,
+1 -1
View File
@@ -136,7 +136,7 @@ impl TVGuide {
let mut matched = tag
.normalized_epg_ids
.as_ref()
.map_or(false, |ids| id_cache.match_with_normalized(epg_id, ids));
.is_some_and(|ids| id_cache.match_with_normalized(epg_id, ids));
if !matched && fuzzy_matching {
let (fuzzy_matched, matched_normalized_name) = Self::find_best_fuzzy_match(id_cache, tag);
if fuzzy_matched {