mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-13 03:12:19 +02:00
Catchup play fix
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user