MediaScannerService unit test and test media library
(cherry picked from commit c2b17f0) Signed-off-by: Rémi Cocula <rcocula@gmail.com>
This commit is contained in:
@@ -70,6 +70,11 @@ public class MediaScannerService {
|
||||
schedule();
|
||||
}
|
||||
|
||||
public void initNoSchedule() {
|
||||
deleteOldIndexFiles();
|
||||
statistics = settingsService.getMediaLibraryStatistics();
|
||||
}
|
||||
|
||||
/**
|
||||
* Schedule background execution of media library scanning.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user