mirror of
https://github.com/euzu/tuliprox.git
synced 2026-09-30 13:02:10 +02:00
added stream id mapping to xtream api
This commit is contained in:
@@ -188,11 +188,8 @@ fn rename_playlist(playlist: &mut [PlaylistGroup], target: &ConfigTarget) -> Opt
|
||||
|
||||
macro_rules! apply_pattern {
|
||||
($pattern:expr, $provider:expr, $processor:expr) => {{
|
||||
match $pattern {
|
||||
Some(ptrn) => {
|
||||
ptrn.filter($provider, $processor);
|
||||
},
|
||||
_ => {}
|
||||
if let Some(ptrn) = $pattern {
|
||||
ptrn.filter($provider, $processor);
|
||||
};
|
||||
}};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user