mirror of
https://git.wownero.com/dsc/ircradio.git
synced 2024-08-15 01:03:15 +00:00
fix yt-dlp
This commit is contained in:
parent
077ce3f3b7
commit
48b1189c3e
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue