Skip to content

Commit 3abe18a

Browse files
Fixed Android player 'detection'
1 parent 88c2983 commit 3abe18a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/gucken/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import warnings
22
warnings.filterwarnings('ignore', message='Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning')
33

4-
__version__ = "0.2.2"
4+
__version__ = "0.2.3"

src/gucken/player/android.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33

44
# This is just that you can check if the player is an Android player
55
class AndroidPlayer(Player):
6-
pass
6+
@classmethod
7+
def is_available(cls) -> bool:
8+
return True
79

810

911
class AndroidChoosePlayer(AndroidPlayer):

0 commit comments

Comments
 (0)