mirror of
https://github.com/euzu/tuliprox.git
synced 2026-09-28 12:02:09 +02:00
New approach for consistent xtream category ids
This commit is contained in:
@@ -530,14 +530,14 @@ pub(crate) async fn process_playlist<'a>(playlists: &mut [FetchedPlaylist<'a>],
|
||||
}
|
||||
}
|
||||
|
||||
persist_playlist(&new_playlist, flatten_tvguide(&new_epg), target, cfg)
|
||||
persist_playlist(&mut new_playlist, flatten_tvguide(&new_epg), target, cfg)
|
||||
} else {
|
||||
info!("Playlist is empty: {}", &target.name);
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
fn persist_playlist(playlist: &[PlaylistGroup], epg: Option<Epg>,
|
||||
fn persist_playlist(playlist: &mut [PlaylistGroup], epg: Option<Epg>,
|
||||
target: &ConfigTarget, cfg: &Config) -> Result<(), Vec<M3uFilterError>> {
|
||||
let mut errors = vec![];
|
||||
for output in &target.output {
|
||||
|
||||
Reference in New Issue
Block a user