From 71f6a49110b6696ca6ac7956baa4edaa1aaa9527 Mon Sep 17 00:00:00 2001 From: Eddy Pedroni Date: Sat, 1 Jan 2022 10:18:37 +0100 Subject: Added partial Launchpad support, refactored existing files --- player_mock.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'player_mock.py') 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 -- cgit v1.2.3