From 918668d21a7f978210481324c77ccad123d93bb3 Mon Sep 17 00:00:00 2001 From: Seb Ospina Date: Sun, 7 Jul 2024 20:55:56 +0200 Subject: [PATCH 1/2] Use the variable extension to avoid .ogg.ogg extension --- imitator/yt_demuc/requirements.txt | 31 +----------------------------- imitator/yt_demuc/utils.py | 2 +- 2 files changed, 2 insertions(+), 31 deletions(-) diff --git a/imitator/yt_demuc/requirements.txt b/imitator/yt_demuc/requirements.txt index 7c8c68e..04d2f9b 100644 --- a/imitator/yt_demuc/requirements.txt +++ b/imitator/yt_demuc/requirements.txt @@ -1,32 +1,3 @@ -antlr4-python3-runtime==4.9.3 -Brotli==1.0.9 -certifi==2022.12.7 click==8.1.3 -cloudpickle==2.2.1 -Cython==0.29.33 -demucs==4.0.0 -diffq==0.2.3 -dora-search==0.1.11 -einops==0.6.0 -julius==0.2.7 -lameenc==1.4.2 -mutagen==1.46.0 -numpy==1.24.2 -nvidia-cublas-cu11==11.10.3.66 -nvidia-cuda-nvrtc-cu11==11.7.99 -nvidia-cuda-runtime-cu11==11.7.99 -nvidia-cudnn-cu11==8.5.0.96 -omegaconf==2.3.0 -openunmix==1.2.1 -pycryptodomex==3.17 -PyYAML==6.0 -retrying==1.3.4 -six==1.16.0 -submitit==1.4.5 -torch==1.13.1 -torchaudio==0.13.1 -tqdm==4.64.1 -treetable==0.2.5 -typing_extensions==4.5.0 -websockets==10.4 +demucs==4.0.1 yt-dlp==2023.2.17 diff --git a/imitator/yt_demuc/utils.py b/imitator/yt_demuc/utils.py index 15f1b3d..b889422 100644 --- a/imitator/yt_demuc/utils.py +++ b/imitator/yt_demuc/utils.py @@ -9,7 +9,7 @@ def download_video(video_id: str): ydl_opts = { 'format': 'vorbis/bestaudio/best', 'quiet': 'True', - 'outtmpl': '{}.ogg'.format(video_id), + 'outtmpl': f'{video_id}.%(ext)s', 'restrictfilename': 'True', 'postprocessors': [{ 'key': 'FFmpegExtractAudio', From a0c93f91c1f331ac7b4890486c9e12aec185ca8f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 7 Jul 2024 18:58:35 +0000 Subject: [PATCH 2/2] Bump yt-dlp from 2023.2.17 to 2024.7.1 in /imitator/yt_demuc Bumps [yt-dlp](https://github.com/yt-dlp/yt-dlp) from 2023.2.17 to 2024.7.1. - [Release notes](https://github.com/yt-dlp/yt-dlp/releases) - [Changelog](https://github.com/yt-dlp/yt-dlp/blob/master/Changelog.md) - [Commits](https://github.com/yt-dlp/yt-dlp/compare/2023.02.17...2024.07.01) --- updated-dependencies: - dependency-name: yt-dlp dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- imitator/yt_demuc/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imitator/yt_demuc/requirements.txt b/imitator/yt_demuc/requirements.txt index 04d2f9b..283296f 100644 --- a/imitator/yt_demuc/requirements.txt +++ b/imitator/yt_demuc/requirements.txt @@ -1,3 +1,3 @@ click==8.1.3 demucs==4.0.1 -yt-dlp==2023.2.17 +yt-dlp==2024.7.1