From 34ee68a5d06c87a8c5cd71fb9438300687175429 Mon Sep 17 00:00:00 2001 From: Lovi <62809003+Lovi-0@users.noreply.github.com> Date: Wed, 29 Jan 2025 17:33:11 +0100 Subject: [PATCH] Fix missing sanitizer. --- StreamingCommunity/Api/Site/streamingcommunity/film.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StreamingCommunity/Api/Site/streamingcommunity/film.py b/StreamingCommunity/Api/Site/streamingcommunity/film.py index b176ddd..436cca6 100644 --- a/StreamingCommunity/Api/Site/streamingcommunity/film.py +++ b/StreamingCommunity/Api/Site/streamingcommunity/film.py @@ -52,7 +52,7 @@ def download_film(select_title: MediaItem) -> str: # Define the filename and path for the downloaded film title_name = os_manager.get_sanitize_file(select_title.name) + ".mp4" - mp4_path = os.path.join(MOVIE_FOLDER, select_title.name) + mp4_path = os.path.join(MOVIE_FOLDER, title_name.replace(".mp4", "")) # Download the film using the m3u8 playlist, and output filename r_proc = HLS_Downloader(