Don't try to login to Spotify if the filescanner got an exit signal

This commit is contained in:
ejurgensen 2014-09-08 22:45:05 +02:00
parent 94c5352db6
commit be7a6c7b1e

View File

@ -1105,12 +1105,12 @@ filescanner(void *arg)
else
bulk_scan(F_SCAN_BULK);
if (!scan_exit)
{
#ifdef HAVE_SPOTIFY_H
spotify_login(NULL);
#endif
if (!scan_exit)
{
/* Enable inotify */
event_add(&inoev, NULL);