Added debug info of scan date
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
This commit is contained in:
+2
-1
@@ -151,9 +151,10 @@ public class MediaScannerService {
|
|||||||
|
|
||||||
private void doScanLibrary() {
|
private void doScanLibrary() {
|
||||||
LOG.info("Starting to scan media library.");
|
LOG.info("Starting to scan media library.");
|
||||||
|
Date lastScanned = DateUtils.truncate(new Date(), Calendar.SECOND);
|
||||||
|
LOG.debug("New last scan date is " + lastScanned);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Date lastScanned = DateUtils.truncate(new Date(), Calendar.SECOND);
|
|
||||||
|
|
||||||
// Maps from artist name to album count.
|
// Maps from artist name to album count.
|
||||||
Map<String, Integer> albumCount = new HashMap<String, Integer>();
|
Map<String, Integer> albumCount = new HashMap<String, Integer>();
|
||||||
|
|||||||
Reference in New Issue
Block a user