Defer loading Spotify playlists until bulk scan is complete

(because of database locking issues)
This commit is contained in:
ejurgensen
2014-06-10 22:49:44 +02:00
parent 1bd11d2895
commit d993bc3750
2 changed files with 82 additions and 71 deletions

View File

@@ -1093,6 +1093,10 @@ filescanner(void *arg)
else
bulk_scan(F_SCAN_BULK);
#ifdef HAVE_SPOTIFY_H
spotify_login(NULL);
#endif
if (!scan_exit)
{
/* Enable inotify */