From d51c3b00e4b097dbae0707d1ef14dc41298ad0a1 Mon Sep 17 00:00:00 2001 From: Florrie Date: Wed, 4 Sep 2019 09:27:01 -0300 Subject: Fix reprocess metadata option not working I'd forgotten to pass the reprocess flag through! --- ui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui.js b/ui.js index 3f9611e..8d13f57 100644 --- a/ui.js +++ b/ui.js @@ -1002,7 +1002,7 @@ class AppElement extends FocusElement { } } - async processMetadata(item) { + async processMetadata(item, reprocess = false) { if (!this.config.canProcessMetadata) { return } @@ -1015,7 +1015,7 @@ class AppElement extends FocusElement { this.metadataStatusLabel.visible = true this.fixLayout() - const counter = await this.backend.processMetadata(item) + const counter = await this.backend.processMetadata(item, reprocess) const tracksMsg = (counter === 1) ? '1 track' : `${counter} tracks` this.metadataStatusLabel.text = `Done processing metadata of ${tracksMsg}!` -- cgit 1.3.0-6-gf8a5