diff options
author | Florrie <towerofnix@gmail.com> | 2019-05-12 16:29:19 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2019-05-12 16:29:19 -0300 |
commit | 84d407ca5300b7ab4dfc62822970e2365347d8f1 (patch) | |
tree | de04e8f0b1793c7bed22e6eb49a249cb923200ea | |
parent | 276b6bc65c7e0067c3bbcda575b4599459386f21 (diff) |
Fix the "processing metadata" text getting stuck
...when you choose "process metadata (new entries)" on a track which has already had its metadata processed.
-rw-r--r-- | ui.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui.js b/ui.js index d838a1d..b16a5ec 100644 --- a/ui.js +++ b/ui.js @@ -1029,9 +1029,9 @@ class AppElement extends FocusElement { if (isGroup(item)) { await Promise.all(item.items.map(x => this.processMetadata(x, reprocess, false))) - } else { + } else process: { if (!reprocess && this.getMetadataFor(item)) { - return + break process } await this.throttleMetadata(async () => { |