]> littlesong.place Git - littlesongplace.git/commitdiff
Prevent trying to import song without URL
authorChris Fulljames <christianfulljames@gmail.com>
Mon, 19 Jan 2026 18:51:15 +0000 (13:51 -0500)
committerChris Fulljames <christianfulljames@gmail.com>
Mon, 19 Jan 2026 18:51:15 +0000 (13:51 -0500)
src/littlesongplace/songs.py

index ee075ad005fc5dfe256bcdde71793886b37d4360..562c61600b01c451331d2bf864201fa1fa1a144d 100644 (file)
@@ -359,7 +359,7 @@ def update_song():
                 """,
                 [collab, songid])
 
-        if upload_type == "dreams":
+        if upload_type == "dreams" and url:
             if song_data["queueid"] is not None:
                 dreams_importer.delete_from_queue(song_data["queueid"])
             dreams_importer.add_to_queue(songid, url)