# HG changeset patch # User mdd # Date 1511620674 -3600 # Node ID cf5c5cec1b2b797968713ab463eede66d4ff0b43 # Parent f0c7db3b239dbf9d8458ba87b2ecc8f69f5e3ef8 bugfix: cleanup status messages when processing multiple files diff -r f0c7db3b239d -r cf5c5cec1b2b ts2mkv.py --- a/ts2mkv.py Sat Nov 25 13:08:41 2017 +0100 +++ b/ts2mkv.py Sat Nov 25 15:37:54 2017 +0100 @@ -48,6 +48,8 @@ self.msg_eit = "" self.msg_ffmpeg = "" self.command = None + self.filename = None + self.outfilebase = None self.scaleto_720p = scaleto_720p self.rename = rename @@ -62,8 +64,6 @@ "-c:a copy", ] - self.filename = None - self.outfilebase = None def get_stream_index(self, data): """ @@ -284,6 +284,10 @@ """ First step: setup, analyze & prepare for conversion """ + self.msg_prepare = "" + self.msg_eit = "" + self.msg_ffmpeg = "" + self.filename = filename self.outfilebase = os.path.splitext(filename)[0] self.get_movie_description()