From 6fd0f04a2f804f4181b6a8022a89033f082b4f81 Mon Sep 17 00:00:00 2001 From: Spiros Georgaras Date: Mon, 14 Feb 2022 00:12:35 +0200 Subject: [PATCH] - version 0.8.9.14 (0.9-beta11) - fixing typo in player.py --- Changelog | 6 +++++- README.html | 6 +++++- pyradio/__init__.py | 2 +- pyradio/player.py | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Changelog b/Changelog index 4bd155af..de88ac8e 100644 --- a/Changelog +++ b/Changelog @@ -1,4 +1,8 @@ -2022-0213 s-n-g +2022-02-14 s-n-g + * version 0.8.9.14 (0.9-beta11) + * fixing typo in player.py + +2022-02-13 s-n-g * version 0.8.9.13 (0.9-beta10) * fixing #148 * fixing a potential psutil crash diff --git a/README.html b/README.html index 7615fd44..963067b3 100644 --- a/README.html +++ b/README.html @@ -143,7 +143,11 @@

Requirements Changelog Top

 
-2022-0213 s-n-g
+2022-02-14 s-n-g
+    * version 0.8.9.14 (0.9-beta11)
+    * fixing typo in player.py
+
+2022-02-13 s-n-g
     * version 0.8.9.13 (0.9-beta10)
     * fixing #148
     * fixing a potential psutil crash
diff --git a/pyradio/__init__.py b/pyradio/__init__.py
index 5001eed0..f9131dbf 100644
--- a/pyradio/__init__.py
+++ b/pyradio/__init__.py
@@ -1,6 +1,6 @@
 " pyradio -- Console radio player. "
 
-version_info = (0, 8, 9, 13)
+version_info = (0, 8, 9, 14)
 
 # Application state:
 # New stable version:  ''
diff --git a/pyradio/player.py b/pyradio/player.py
index 45bbc703..a17b2223 100644
--- a/pyradio/player.py
+++ b/pyradio/player.py
@@ -1121,7 +1121,7 @@ def _get_mpv_metadata(self, *args):
 
         a_data = args[0]
         stop = args[1]
-        enable_crash_detection_function = [2]
+        enable_crash_detection_function = args[2]
         if b'"icy-title":"' in a_data:
             if version_info > (3, 0):
                 title = a_data.split(b'"icy-title":"')[1].split(b'"}')[0]