Try to fix occasional short dropouts at start of track
Move plot graph to before starting track
This commit is contained in:
parent
705f3ea2f2
commit
8674e6d5b3
@ -1318,6 +1318,9 @@ class Window(QMainWindow, Ui_MainWindow):
|
||||
if self.btnDrop3db.isChecked():
|
||||
self.btnDrop3db.setChecked(False)
|
||||
|
||||
# Show closing volume graph
|
||||
self.current_track.fade_graph.plot()
|
||||
|
||||
# Play (new) current track
|
||||
self.current_track.start()
|
||||
self.music.play(self.current_track.path, position)
|
||||
@ -1334,9 +1337,6 @@ class Window(QMainWindow, Ui_MainWindow):
|
||||
break
|
||||
sleep(0.1)
|
||||
|
||||
# Show closing volume graph
|
||||
self.current_track.fade_graph.plot()
|
||||
|
||||
# Tell database to record it as played
|
||||
Playdates(session, self.current_track.track_id)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user