pub mod playlist; mod xtream; // mod affix; mod xtream_vod; mod xtream_series; pub mod epg; mod sort; pub mod trakt; mod library; // // fn get_resolve__options(target: &ConfigTarget, fpl: &FetchedPlaylist) -> (bool, u16) // #[macro_export] macro_rules! create_resolve_options_function_for_xtream_target { ($cluster:ident) => { paste::paste! { fn [](target: &ConfigTarget, fpl: &FetchedPlaylist) -> (bool, u16) { match target.get_xtream_output() { Some(xtream_output) => (xtream_output.[] && fpl.input.input_type == InputType::Xtream, xtream_output.[]), None => (false, 0) } } } }; } use create_resolve_options_function_for_xtream_target;