From 9eb4e81cc422f545a9b75753f40679024d9a5d7c Mon Sep 17 00:00:00 2001 From: Ghost <62809003+Ghost6446@users.noreply.github.com> Date: Thu, 23 May 2024 12:02:12 +0200 Subject: [PATCH] Fix index season map episode for series --- Src/Api/Streamingcommunity/series.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Api/Streamingcommunity/series.py b/Src/Api/Streamingcommunity/series.py index 7391479..fdd568d 100644 --- a/Src/Api/Streamingcommunity/series.py +++ b/Src/Api/Streamingcommunity/series.py @@ -86,7 +86,7 @@ def donwload_video(tv_name: str, index_season_selected: int, index_episode_selec print() # Define filename and path for the downloaded video - mp4_name = remove_special_characters(f"{map_episode_title(tv_name, obj_episode, index_episode_selected)}.mp4") + mp4_name = remove_special_characters(f"{map_episode_title(tv_name, obj_episode, index_season_selected)}.mp4") mp4_path = os.path.join(ROOT_PATH, STREAMING_FOLDER, "Serie", tv_name, f"S{index_season_selected}") os.makedirs(mp4_path, exist_ok=True)