mirror of
https://github.com/sanderfoobar/ircradio.git
synced 2024-11-25 21:39:26 +01:00
fix yt-dlp
This commit is contained in:
parent
077ce3f3b7
commit
48b1189c3e
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user