diff --git a/libresonic-main/src/main/java/org/libresonic/player/service/MediaScannerService.java b/libresonic-main/src/main/java/org/libresonic/player/service/MediaScannerService.java index 39c8dc39..c589f63c 100644 --- a/libresonic-main/src/main/java/org/libresonic/player/service/MediaScannerService.java +++ b/libresonic-main/src/main/java/org/libresonic/player/service/MediaScannerService.java @@ -151,9 +151,10 @@ public class MediaScannerService { private void doScanLibrary() { LOG.info("Starting to scan media library."); + Date lastScanned = DateUtils.truncate(new Date(), Calendar.SECOND); + LOG.debug("New last scan date is " + lastScanned); try { - Date lastScanned = DateUtils.truncate(new Date(), Calendar.SECOND); // Maps from artist name to album count. Map albumCount = new HashMap();