diff options
author | Florrie <towerofnix@gmail.com> | 2019-09-04 09:27:01 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2019-09-04 09:27:01 -0300 |
commit | d51c3b00e4b097dbae0707d1ef14dc41298ad0a1 (patch) | |
tree | 506c0dc7990770135307296a1b66e56cf488bce8 | |
parent | 88d42caf4aaa5aa5a235b8f434704bbe8f6a9f92 (diff) |
Fix reprocess metadata option not working
I'd forgotten to pass the reprocess flag through!
-rw-r--r-- | ui.js | 4 |
1 files 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}!` |