From 00e5e098d40fafaedbf8cb967fd75eaca664382c Mon Sep 17 00:00:00 2001 From: chme Date: Sat, 4 Mar 2017 17:24:42 +0100 Subject: [PATCH] [spotify] Purge spotify songs from db before scanning after oauth (#361) --- src/spotify.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/spotify.c b/src/spotify.c index db3f6e6a..13a94ad4 100644 --- a/src/spotify.c +++ b/src/spotify.c @@ -2386,6 +2386,8 @@ fullrescan() static enum command_state webapi_scan(void *arg, int *ret) { + db_spotify_purge(); + *ret = rescan(); return COMMAND_END; }