From: Mark Wooding Date: Thu, 19 Apr 2018 11:16:11 +0000 (+0100) Subject: gremlin/gremlin.in: Clear `measure bitrate' progress when it's done. X-Git-Url: https://git.distorted.org.uk/~mdw/autoys/commitdiff_plain/f3ebed77bfd2fb3f83e0c6b6975492a454ae7cd2 gremlin/gremlin.in: Clear `measure bitrate' progress when it's done. 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. --- diff --git a/gremlin/gremlin.in b/gremlin/gremlin.in index f4e7853..fe9491d 100644 --- a/gremlin/gremlin.in +++ b/gremlin/gremlin.in @@ -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