From 56bb72e5583804c11439536bb3edc4d2d9745b22 Mon Sep 17 00:00:00 2001 From: Pablo Diaz Date: Thu, 2 Sep 2021 19:18:32 -0500 Subject: [PATCH] #5 fix, my bad xd --- CHANGELOG.md | 2 +- pipewire_python/__init__.py | 2 +- pipewire_python/_utils.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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].*)"