From 71593d438dff1a54986c94b469faa31c4581f6c7 Mon Sep 17 00:00:00 2001 From: Eddy Pedroni Date: Wed, 22 Dec 2021 22:14:43 +0100 Subject: Fixed additive loading issue --- session_manager.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'session_manager.py') diff --git a/session_manager.py b/session_manager.py index 52742c8..fd6b4ad 100644 --- a/session_manager.py +++ b/session_manager.py @@ -15,6 +15,9 @@ class SessionManager: jsonStr = file.read() session = json.loads(jsonStr) + self._playlist.clear() + self._abController.clear() + for entry in session: songPath = entry["path"] abLimits = entry["ab_limits"] -- cgit v1.2.3