From: Chris Fulljames Date: Sat, 29 Mar 2025 12:34:55 +0000 (-0400) Subject: Re-enable youtube importer, add logging X-Git-Url: https://littlesong.place/gitweb/?a=commitdiff_plain;h=dbdb79866a694f3be80365e836dad1162e7b8b03;p=littlesongplace.git Re-enable youtube importer, add logging --- 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!) + +