From fbc780b579b27946a069b3e4deed3c91c5596254 Mon Sep 17 00:00:00 2001 From: Keith Edmunds Date: Sun, 9 Jul 2023 15:40:56 +0100 Subject: [PATCH] Put elapsed/total time below Preview button --- app/musicmuster.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/musicmuster.py b/app/musicmuster.py index 0a95fc1..ba497c1 100755 --- a/app/musicmuster.py +++ b/app/musicmuster.py @@ -1759,7 +1759,11 @@ class Window(QMainWindow, Ui_MainWindow): time_to_end = (self.current_track.duration - playtime) # Elapsed time - self.label_elapsed_timer.setText(helpers.ms_to_mmss(playtime)) + self.label_elapsed_timer.setText( + helpers.ms_to_mmss(playtime) + + " / " + + helpers.ms_to_mmss(self.current_track.duration) + ) # Time to fade self.label_fade_timer.setText(helpers.ms_to_mmss(time_to_fade))