commit 57c39d3720a6e160942c00b4b6a43a3d7d554108
parent 45da5f0620c78d037d0a27971a0939dcdf15612e
Author: Paco Esteban <paco@e1e0.net>
Date: Sun, 24 Oct 2021 19:30:53 +0200
only start the info updater thread if is not already running
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/subclient/subclient.py b/subclient/subclient.py
@@ -129,7 +129,8 @@ class SubClient:
elif c in [curses.KEY_ENTER, '\r', '\n']:
if self.nav_list_type == self.SONGS:
self.start_player()
- self.info_updater.start()
+ if not self.info_updater.is_alive():
+ self.info_updater.start()
def load_list(self):
for i, t in enumerate(