diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f3f914..4fe2700 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## [0.0.7](https://github.com/JumpCutter/JC-render/compare/v0.0.6...v0.0.7) (2021-11-30) + + +## Bug Fixes +- __ascii__ : stderr from WHAT IS THIS now decoded with utf8 so decode doesn't throw with +non ascii characters in video file name ## [0.0.6](https://github.com/JumpCutter/JC-render/compare/v0.0.5...v0.0.6) (2021-07-23) diff --git a/render.py b/render.py index 109c2bd..44dfcf6 100644 --- a/render.py +++ b/render.py @@ -259,7 +259,7 @@ def has_stream(self, file_name, stream='v'): # NOQA probe_all = ffmpeg.probe('{}'.format(file_name), cmd=self.ffprobe_path) except Exception as e: self.logger.warning("WHAT IS THIS") # FIXME: @JUL14N this one's for you buddy:) - stderr = e.stderr.decode('ascii').replace('\n', '\n\t') + stderr = e.stderr.decode('utf8').replace('\n', '\n\t') self.logger.warning(f"ffprobe stderr:\n\t{stderr}") if stream == 'v': self.logger.debug("probe result -\n" + json.dumps(probe_all, indent=2))