mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-23 20:53:19 -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
|
else
|
||||||
bulk_scan(F_SCAN_BULK);
|
bulk_scan(F_SCAN_BULK);
|
||||||
|
|
||||||
|
if (!scan_exit)
|
||||||
|
{
|
||||||
#ifdef HAVE_SPOTIFY_H
|
#ifdef HAVE_SPOTIFY_H
|
||||||
spotify_login(NULL);
|
spotify_login(NULL);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (!scan_exit)
|
|
||||||
{
|
|
||||||
/* Enable inotify */
|
/* Enable inotify */
|
||||||
event_add(&inoev, NULL);
|
event_add(&inoev, NULL);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user