mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-04 15:02:16 +02:00
Feature/m3u playlist with extension (#552)
m3u playlist with extensions
This commit is contained in:
@@ -282,7 +282,7 @@ async fn playlist_download_from_input(client: &reqwest::Client, app_config: &Arc
|
||||
let working_dir = &config.working_dir;
|
||||
|
||||
// Check Status
|
||||
let storage_path = input_cache::resolve_input_storage_path(working_dir, &input.name);
|
||||
let storage_path = input_cache::resolve_input_storage_path(working_dir, &input.name).await;
|
||||
let mut status = input_cache::load_input_status(&storage_path);
|
||||
let cache_duration = input.cache_duration_seconds;
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ async fn playlist_resolve_series_info(app_config: &Arc<AppConfig>, client: &reqw
|
||||
|
||||
let input = fpl.input;
|
||||
let working_dir = &app_config.config.load().working_dir;
|
||||
let storage_path = match get_input_storage_path(&input.name, working_dir) {
|
||||
let storage_path = match get_input_storage_path(&input.name, working_dir).await {
|
||||
Ok(storage_path) => storage_path,
|
||||
Err(err) => {
|
||||
error!("Can't resolve series info, input storage directory for input '{}' failed: {err}", input.name);
|
||||
|
||||
@@ -27,7 +27,7 @@ pub async fn playlist_resolve_vod(app_config: &Arc<AppConfig>,
|
||||
|
||||
let input = fpl.input;
|
||||
let working_dir = &app_config.config.load().working_dir;
|
||||
let storage_path = match get_input_storage_path(&input.name, working_dir) {
|
||||
let storage_path = match get_input_storage_path(&input.name, working_dir).await {
|
||||
Ok(storage_path) => storage_path,
|
||||
Err(err) => {
|
||||
error!("Can't resolve vod, input storage directory for input '{}' failed: {err}", input.name);
|
||||
|
||||
Reference in New Issue
Block a user