From bf232d2f3fa94f374d82464eb66bcc7d72adc3ed Mon Sep 17 00:00:00 2001 From: Eddy Pedroni Date: Sun, 26 Dec 2021 23:05:46 +0100 Subject: Added temporary AB limit functionality to back end --- solo_tool.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'solo_tool.py') diff --git a/solo_tool.py b/solo_tool.py index 8530125..db28c45 100644 --- a/solo_tool.py +++ b/solo_tool.py @@ -36,9 +36,12 @@ class SoloTool: def storeAbLimits(self, aLimit, bLimit): self._abController.storeLimits(aLimit, bLimit) - def setAbLimit(self, index): + def loadAbLimits(self, index): self._abController.loadLimits(index) + def setAbLimits(self, aLimit, bLimit): + self._abController.setLimits(aLimit, bLimit) + def getAbLimits(self): currentSong = self._playlist.getCurrentSong() if currentSong is not None: -- cgit v1.2.3