diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d9286b..be64765 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# v0.0.93 (2021-09-02) +# v0.0.93-94 (2021-09-02) Fix issue #5 diff --git a/pipewire_python/__init__.py b/pipewire_python/__init__.py index 7aa1275..0a43b85 100644 --- a/pipewire_python/__init__.py +++ b/pipewire_python/__init__.py @@ -69,7 +69,7 @@ ``` """ -__version__ = "0.0.93" +__version__ = "0.0.94" import sys diff --git a/pipewire_python/_utils.py b/pipewire_python/_utils.py index 601eb91..80d3637 100644 --- a/pipewire_python/_utils.py +++ b/pipewire_python/_utils.py @@ -172,7 +172,7 @@ def _generate_dict_list_targets( regex_id = r"(\d.*):" regex_desc = r'description="([^"]*)"' - regex_prio = r"prio=([+-]\d.*)" + regex_prio = r"prio=(-?\d.*)" regex_default_node = r"[*]\t(\d\d)" regex_alsa_node = r"(alsa_[a-zA-Z].*)"