From dbdb79866a694f3be80365e836dad1162e7b8b03 Mon Sep 17 00:00:00 2001 From: Chris Fulljames Date: Sat, 29 Mar 2025 08:34:55 -0400 Subject: [PATCH] Re-enable youtube importer, add logging --- main.py | 1 + templates/edit-song.html | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 291694e..b154ccc 100644 --- a/main.py +++ b/main.py @@ -510,6 +510,7 @@ def yt_import(tmp_file, yt_url): ydl_opts = { 'format': 'm4a/bestaudio/best', 'outtmpl': tmp_file.name, + 'logger': app.logger, } with YoutubeDL(ydl_opts) as ydl: ydl.download([yt_url]) diff --git a/templates/edit-song.html b/templates/edit-song.html index cf8b6a5..552c1cf 100644 --- a/templates/edit-song.html +++ b/templates/edit-song.html @@ -22,9 +22,8 @@ Most standard audio/video formats are supported - .wav, .mp3, .ogg, .mp4, etc.
- - - (Looking for the YouTube importer? Unfortunately it's currently broken - hopefully it will be back soon!) + +

-- 2.39.5