diff options
author | Eddy Pedroni <eddy@0xf7.com> | 2022-01-01 10:18:37 +0100 |
---|---|---|
committer | Eddy Pedroni <eddy@0xf7.com> | 2022-01-01 10:18:37 +0100 |
commit | 71f6a49110b6696ca6ac7956baa4edaa1aaa9527 (patch) | |
tree | e16178d2db8c6a8b7459801aab34d46255d4e8f6 /player_mock.py | |
parent | 9090422b2ba5eab9e4131f9b9281ed83128d977c (diff) |
Added partial Launchpad support, refactored existing files
Diffstat (limited to 'player_mock.py')
-rw-r--r-- | player_mock.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/player_mock.py b/player_mock.py index 2fcb725..5aad769 100644 --- a/player_mock.py +++ b/player_mock.py @@ -19,6 +19,9 @@ class Player(): def pause(self): self.state = Player.PAUSED + def isPlaying(self): + return self.state == Player.PLAYING + def setPlaybackRate(self, rate): self.rate = rate |