From a14eb92c3dc79270463964519dd95359a5deb621 Mon Sep 17 00:00:00 2001 From: Fabrice Quenneville Date: Mon, 21 Dec 2020 22:10:19 -0500 Subject: [PATCH] Fixed bug with permissions not being applied due to octal formating --- .../source/releasenotes/0.0.4-changelog.rst | 57 +++++++++++++++++++ mediacurator/library/video.py | 2 +- setup.py | 2 +- 3 files changed, 59 insertions(+), 2 deletions(-) create mode 100644 docsource/source/releasenotes/0.0.4-changelog.rst diff --git a/docsource/source/releasenotes/0.0.4-changelog.rst b/docsource/source/releasenotes/0.0.4-changelog.rst new file mode 100644 index 0000000..6355fbf --- /dev/null +++ b/docsource/source/releasenotes/0.0.4-changelog.rst @@ -0,0 +1,57 @@ +================================ +MediaCurator 0.0.1 Release Notes +================================ + + + +Highlights +========== + +Bugs fixes: +* Fixed bug with permissions not being applied correctly after conversion + +Dropped Support +=============== + + +Future Changes +============== + +* More filters +* Test AV1 Support +* Prepare API for GUI + +Compatibility notes +=================== + +Python Support +-------------- + +Mediacurator has been tested on Python 3.7 - 3.9 + +FFMPEG Support +-------------- + +Mediacurator has been tested to work with FFMPEG versions ranging from 4.1.6 to 4.3.1 + +OS Support +---------- + +Mediacurator has been tested to work on various GNU/Linux distribution as well as Windows + +New Features +============ + + + +Improvements +============ + + +Changes +======= + + + +Deprecations +============ diff --git a/mediacurator/library/video.py b/mediacurator/library/video.py index e5d0e6f..ff94f83 100644 --- a/mediacurator/library/video.py +++ b/mediacurator/library/video.py @@ -185,7 +185,7 @@ class Video(): self.filename_tmp = "" exit() else: - os.chmod(f"{self.path}{self.filename_tmp}", 777) + os.chmod(f"{self.path}{self.filename_tmp}", 0o777) self.filename_new = self.filename_tmp self.filename_tmp = "" return True diff --git a/setup.py b/setup.py index 11f4460..6573d9f 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ with open("README.md", "r", encoding="utf-8") as fh: setuptools.setup( name="MediaCurator", - version="0.0.3", + version="0.0.4", author="Fabrice Quenneville", author_email="fab@fabq.ca", url="https://github.com/fabquenneville/MediaCurator",