mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 05:59:45 -05:00
Don't try to login to Spotify if the filescanner got an exit signal
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user