From 754d82a183b8e198910e8f57407844e002022edc Mon Sep 17 00:00:00 2001 From: Carsten Kvist Date: Sun, 12 Apr 2026 12:20:57 +0200 Subject: [PATCH] t --- linedance-app/local/file_watcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linedance-app/local/file_watcher.py b/linedance-app/local/file_watcher.py index c13bad85..3f34a839 100644 --- a/linedance-app/local/file_watcher.py +++ b/linedance-app/local/file_watcher.py @@ -286,7 +286,7 @@ class LibraryWatcher: else: song_id = str(uuid.uuid4()) conn.execute(""" - INSERT INTO songs (id, library_id, local_path, title, + INSERT OR IGNORE INTO songs (id, library_id, local_path, title, artist, album, bpm, duration_sec, file_format, file_modified_at, extra_tags) VALUES (?,?,?,?,?,?,?,?,?,?,?)