fix yt-dlp

This commit is contained in:
dsc 2023-07-07 22:20:19 +03:00
parent 077ce3f3b7
commit 48b1189c3e

View File

@ -17,7 +17,7 @@ class YouTube:
from ircradio.factory import app from ircradio.factory import app
from ircradio.models import Song from ircradio.models import Song
output = f"{settings.dir_music}/{utube_id}.ogg" output = f"{settings.dir_music}/{utube_id}"
song = Song.by_uid(utube_id) song = Song.by_uid(utube_id)
if song: if song:
if not os.path.exists(output): if not os.path.exists(output):