mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-13 19:32:36 +02:00
Added input options xtream_skip_live, xtream_skip_vod, xtream_skip_series.
This commit is contained in:
@@ -21,8 +21,6 @@ sources:
|
||||
url: 'http://localhost:8080'
|
||||
username: test
|
||||
password: test
|
||||
select:
|
||||
-
|
||||
targets:
|
||||
- name: pl1
|
||||
filename: playlist_1.m3u
|
||||
|
||||
@@ -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<XtreamCluster> {
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user