diff --git a/README.md b/README.md index 1b1445c..8a07ae7 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ PATH="/usr/local/bin/ffmpeg:$PATH" # Usage ``` ❯ deew -h -deew 3.2.0 +deew 3.2.1 USAGE: deew [-h] [-v] [-i [INPUT ...]] [-ti INDEX] [-o DIRECTORY] [-f FORMAT] [-b BITRATE] [-dm CHANNELS] [-d DELAY] [-r DRC] [-dn DIALNORM] diff --git a/README_hu.md b/README_hu.md index 90f54fd..5b0aaa8 100644 --- a/README_hu.md +++ b/README_hu.md @@ -99,7 +99,7 @@ PATH="/usr/local/bin/ffmpeg:$PATH" # Használat ``` ❯ deew -h -deew 3.2.0 +deew 3.2.1 USAGE: deew [-h] [-v] [-i [INPUT ...]] [-ti INDEX] [-o DIRECTORY] [-f FORMAT] [-b BITRATE] [-dm CHANNELS] [-d DELAY] [-r DRC] [-dn DIALNORM] diff --git a/changelog.md b/changelog.md index 7203dac..7121bbe 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,6 @@ +# deew 3.2.1: +- handle `-master` in dee's version string + # deew 3.2.0: - add Windows 7 support with custom Python build: https://github.com/adang1345/PythonWin7 diff --git a/deew/__main__.py b/deew/__main__.py index 2f2226d..135ce0d 100755 --- a/deew/__main__.py +++ b/deew/__main__.py @@ -45,7 +45,7 @@ from deew.xml_base import xml_dd_ddp_base, xml_thd_base, xml_ac4_base prog_name = 'deew' -prog_version = '3.2.0' +prog_version = '3.2.1' simplens = SimpleNamespace() @@ -318,7 +318,7 @@ def parse_version_string(inp: list) -> str: try: v = subprocess.run(inp, capture_output=True, encoding='utf-8').stdout v = v.split('\n')[0].split(' ')[2] - v = v.replace(',', '').replace('-static', '') + v = v.replace(',', '').replace('-static', '').replace('-master', '') if len(v) > 30: v = f'{v[0:27]}...' except Exception: diff --git a/dev_scripts/readme/help.txt b/dev_scripts/readme/help.txt index 63e0d92..4f63c38 100644 --- a/dev_scripts/readme/help.txt +++ b/dev_scripts/readme/help.txt @@ -1,4 +1,4 @@ -deew 3.2.0 +deew 3.2.1 USAGE: deew [-h] [-v] [-i [INPUT ...]] [-ti INDEX] [-o DIRECTORY] [-f FORMAT] [-b BITRATE] [-dm CHANNELS] [-d DELAY] [-r DRC] [-dn DIALNORM] diff --git a/pyproject.toml b/pyproject.toml index 1e20707..d6d6bc6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "deew" -version = "3.2.0" +version = "3.2.1" description = "Dolby Encoding Engine Wrapper" authors = ["pcroland "] license = "MIT"