mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-23 12:43:18 -05:00
Don't try to login to Spotify if the filescanner got an exit signal
This commit is contained in:
parent
94c5352db6
commit
be7a6c7b1e
@ -1105,12 +1105,12 @@ filescanner(void *arg)
|
||||
else
|
||||
bulk_scan(F_SCAN_BULK);
|
||||
|
||||
#ifdef HAVE_SPOTIFY_H
|
||||
spotify_login(NULL);
|
||||
#endif
|
||||
|
||||
if (!scan_exit)
|
||||
{
|
||||
#ifdef HAVE_SPOTIFY_H
|
||||
spotify_login(NULL);
|
||||
#endif
|
||||
|
||||
/* Enable inotify */
|
||||
event_add(&inoev, NULL);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user