aboutsummaryrefslogtreecommitdiffstats
path: root/solo_tool.py
diff options
context:
space:
mode:
authorEddy Pedroni <eddy@0xf7.com>2021-12-26 23:05:46 +0100
committerEddy Pedroni <eddy@0xf7.com>2021-12-26 23:05:46 +0100
commitbf232d2f3fa94f374d82464eb66bcc7d72adc3ed (patch)
tree48daafadce6d643a7fb342178c161ecec5be53fb /solo_tool.py
parent8622638f99277b43d40b61029dc3c56164d06cae (diff)
Added temporary AB limit functionality to back end
Diffstat (limited to 'solo_tool.py')
-rw-r--r--solo_tool.py5
1 files changed, 4 insertions, 1 deletions
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: