mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-26 04:49:18 -05:00
[scan] After rescan, fullrescan inotify must be enabled
This commit is contained in:
parent
f3f24e520c
commit
3d43721cd0
@ -1612,6 +1612,11 @@ filescanner_rescan()
|
|||||||
inofd_event_set();
|
inofd_event_set();
|
||||||
bulk_scan(F_SCAN_BULK | F_SCAN_RESCAN);
|
bulk_scan(F_SCAN_BULK | F_SCAN_RESCAN);
|
||||||
|
|
||||||
|
if (!library_is_exiting())
|
||||||
|
{
|
||||||
|
/* Enable inotify */
|
||||||
|
event_add(inoev, NULL);
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1624,6 +1629,11 @@ filescanner_fullrescan()
|
|||||||
inofd_event_set();
|
inofd_event_set();
|
||||||
bulk_scan(F_SCAN_BULK);
|
bulk_scan(F_SCAN_BULK);
|
||||||
|
|
||||||
|
if (!library_is_exiting())
|
||||||
|
{
|
||||||
|
/* Enable inotify */
|
||||||
|
event_add(inoev, NULL);
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user