From 3abe18afaf8e9fd950d66a3d2f0f01e49127c41f Mon Sep 17 00:00:00 2001 From: Commandcracker <49335821+Commandcracker@users.noreply.github.com> Date: Wed, 12 Jun 2024 20:11:46 +0200 Subject: [PATCH] Fixed Android player 'detection' --- src/gucken/__init__.py | 2 +- src/gucken/player/android.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gucken/__init__.py b/src/gucken/__init__.py index 095bf2e..f6c5107 100644 --- a/src/gucken/__init__.py +++ b/src/gucken/__init__.py @@ -1,4 +1,4 @@ import warnings warnings.filterwarnings('ignore', message='Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning') -__version__ = "0.2.2" +__version__ = "0.2.3" diff --git a/src/gucken/player/android.py b/src/gucken/player/android.py index 68a664f..a6de005 100644 --- a/src/gucken/player/android.py +++ b/src/gucken/player/android.py @@ -3,7 +3,9 @@ # This is just that you can check if the player is an Android player class AndroidPlayer(Player): - pass + @classmethod + def is_available(cls) -> bool: + return True class AndroidChoosePlayer(AndroidPlayer):