mapper refactoring

This commit is contained in:
euzu
2025-05-21 22:01:34 +02:00
parent 4bcba1fa94
commit f5ee28ddf6
9 changed files with 812 additions and 232 deletions
+2 -2
View File
@@ -144,11 +144,11 @@ fn map_channel(mut channel: PlaylistItem, mapping: &Mapping) -> PlaylistItem {
match &m.t_filter {
Some(filter) => {
if filter.filter(&provider, &mut mock_processor) {
apply_pattern!(&m.t_pattern, &provider, &mut processor);
//apply_pattern!(&m.t_pattern, &provider, &mut processor);
}
}
_ => {
apply_pattern!(&m.t_pattern, &provider, &mut processor);
//apply_pattern!(&m.t_pattern, &provider, &mut processor);
}
}
}