fix micro smarcio
This commit is contained in:
parent
ec36ea3feb
commit
cbf90d1d0a
2 changed files with 16 additions and 4 deletions
|
@ -210,6 +210,9 @@ def add_song():
|
|||
## song not found, downolad from YT
|
||||
yt_video_id = yt_search_song(info.title, info.artist)
|
||||
|
||||
if yt_video_id is None:
|
||||
return error("No video found on youtube")
|
||||
|
||||
## add in DB
|
||||
song = Song(
|
||||
uuid=str(uuid.uuid4()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue