From af462ee4a7d3f5a44ae6cdb00b3eca09f0fb286f Mon Sep 17 00:00:00 2001 From: Vadim Date: Sun, 9 Jun 2024 12:25:03 +0200 Subject: [PATCH] remove audio from yt video --- ReleaseNotes.md | 1 + src/Settings.py | 2 +- src/modules/Audio/youtube.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ReleaseNotes.md b/ReleaseNotes.md index cf22ab0..1b01895 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -3,6 +3,7 @@ Date: 2024.06.02 - Changes: - Better linebreak calculation - Remove cache folder when finished + - Remove audio from yt video # Version: 0.0.10 Date: 2024.05.01 diff --git a/src/Settings.py b/src/Settings.py index 6512ecf..5ebf4af 100644 --- a/src/Settings.py +++ b/src/Settings.py @@ -1,5 +1,5 @@ class Settings: - APP_VERSION = "0.0.11-dev2" + APP_VERSION = "0.0.11-dev3" create_midi = True create_plot = False diff --git a/src/modules/Audio/youtube.py b/src/modules/Audio/youtube.py index f0d9f77..07c1cab 100644 --- a/src/modules/Audio/youtube.py +++ b/src/modules/Audio/youtube.py @@ -74,7 +74,7 @@ def download_youtube_video(url: str, clear_filename: str, output_path: str) -> N print(f"{ULTRASINGER_HEAD} Downloading Video") ydl_opts = { - "format": "bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4", + "format": "bestvideo[ext=mp4]/mp4", "outtmpl": output_path + "/" + clear_filename + ".mp4", } start_download(ydl_opts, url)