From f7480bb96323b8466ad8e097475db2a7135c88e0 Mon Sep 17 00:00:00 2001 From: Eddy Pedroni Date: Sat, 1 Jan 2022 19:09:01 +0100 Subject: Added next/previous AB limit functionality --- solo_tool.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'solo_tool.py') diff --git a/solo_tool.py b/solo_tool.py index d2147bf..6581f5e 100644 --- a/solo_tool.py +++ b/solo_tool.py @@ -58,6 +58,12 @@ class SoloTool: def setAbLimitEnable(self, enable): self._abController.setEnable(enable) + def nextStoredAbLimits(self): + self._abController.nextStoredAbLimits() + + def previousStoredAbLimits(self): + self._abController.previousStoredAbLimits() + def jumpToA(self): a = self._abController.getCurrentLimits()[0] # XXX assumes that player.setPlaybackPosition is thread-safe! -- cgit v1.2.3