gremlin/gremlin.in: Clear `measure bitrate' progress when it's done.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 19 Apr 2018 11:16:11 +0000 (12:16 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 20 Apr 2018 12:21:16 +0000 (13:21 +0100)
This makes the display more flickery when every file needs to be
measured, but it avoids leaving debris on the screen at the end, or if
there are only a few files which need measuring.

gremlin/gremlin.in

index f4e7853..fe9491d 100644 (file)
@@ -956,6 +956,7 @@ class AudioIdentifier (object):
     if fail:
       pipe.set_state(GS.State.NULL)
       raise fail[0], fail[1], fail[2]
+    STATUS.clear()
 
     ## The bitrate computation wants the file size.  Ideally we'd want the
     ## total size of the frames' contents, but that seems hard to dredge