Added debug info of scan date

Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
master
Andrew DeMaria 8 years ago
parent f7bd43136b
commit cd0665e426
No known key found for this signature in database
GPG Key ID: 0A3F5E91F8364EDF
  1. 3
      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<String, Integer> albumCount = new HashMap<String, Integer>();

Loading…
Cancel
Save