resolve series wip

This commit is contained in:
euzu
2024-12-25 12:02:00 +01:00
parent 4813ad749e
commit 454e85e6d2
14 changed files with 97 additions and 95 deletions
-1
View File
@@ -303,7 +303,6 @@ async fn process_source(cfg: Arc<Config>, source_idx: usize, user_targets: Arc<P
InputType::M3u => download::get_m3u_playlist(&cfg, input, &cfg.working_dir).await,
InputType::Xtream => download::get_xtream_playlist(input, &cfg.working_dir).await,
};
// @TODO optmization dont hold tv_guide in memory, persist raw and later use sax parser to extract.
let (tvguide, mut tvguide_errors) = if error_list.is_empty() {
download::get_xmltv(&cfg, input, &cfg.working_dir).await
} else {