From 51fefd7ece36f80d4006a821df52d00a24278bdc Mon Sep 17 00:00:00 2001 From: Baraa Al-Masri Date: Fri, 24 May 2024 23:01:19 +0300 Subject: [PATCH] fix(ytdl): add db update after downloading a song --- ytdl/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ytdl/main.py b/ytdl/main.py index f63f67b..37416e9 100644 --- a/ytdl/main.py +++ b/ytdl/main.py @@ -182,6 +182,7 @@ def download_song(id: str) -> int: currently_downloading_queue.add(id) res = download_yt_song(id) currently_downloading_queue.remove(id) + update_song_status(id) if res != 0: print(f"error: {YT_ERROR[res]} when downloading {id}") return res