aboutsummaryrefslogtreecommitdiffstats
path: root/src/queue_save.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/queue_save.c')
-rw-r--r--src/queue_save.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/queue_save.c b/src/queue_save.c
index 16852d3c1..00b5ecbb1 100644
--- a/src/queue_save.c
+++ b/src/queue_save.c
@@ -120,4 +120,7 @@ queue_load_song(FILE *fp, GString *buffer, const char *line,
}
queue_append(queue, song, priority);
+
+ if (song_in_database(song))
+ db_return_song(song);
}