diff --git a/config/source.yml b/config/source.yml index cefa5d121..4ae1b7a85 100644 --- a/config/source.yml +++ b/config/source.yml @@ -21,8 +21,6 @@ sources: url: 'http://localhost:8080' username: test password: test - select: - - targets: - name: pl1 filename: playlist_1.m3u diff --git a/src/utils/download.rs b/src/utils/download.rs index b4b41b647..65dd58aba 100644 --- a/src/utils/download.rs +++ b/src/utils/download.rs @@ -1,6 +1,6 @@ use std::path::PathBuf; use std::thread::sleep; -use log::debug; +use log::{debug, info}; use crate::m3u_filter_error::M3uFilterError; use crate::model::config::{Config, ConfigInput}; use crate::model::playlist::{FetchedPlaylist, PlaylistGroup, PlaylistItem, PlaylistItemType, XtreamCluster}; @@ -98,6 +98,9 @@ fn get_skip_cluster(input: &&ConfigInput) -> Vec { skip_cluster.push(XtreamCluster::Series) } } + if skip_cluster.len() == 3 { + info!("You have skipped all sections from xtream input {}", input.name.as_ref().unwrap_or(&input.id.to_string())); + } skip_cluster }