« get me outta code hell

update queue length as metadata is processed - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2020-07-06 22:34:48 -0300
committerFlorrie <towerofnix@gmail.com>2020-07-06 22:34:48 -0300
commitb7d4decd7c18352c02102156611a2a533a01e75c (patch)
tree9952edd80e36d72168109efe56409003f9ac8962
parent9bf3bcd1873c4ab5e7cbc073b05fc4e5bc8e2ec5 (diff)
update queue length as metadata is processed
this makes a very nice animation of the duration going up as data is
processed for new tracks :3
-rw-r--r--ui.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.js b/ui.js
index 0f8c12b..0bd512a 100644
--- a/ui.js
+++ b/ui.js
@@ -551,6 +551,7 @@ class AppElement extends FocusElement {
 
   handleProcessMetadataProgress(remaining) {
     this.metadataStatusLabel.text = `Processing metadata - ${remaining} to go.`
+    this.updateQueueLengthLabel()
   }
 
   handleQueueUpdated() {