fixed bug where the play progress of the last song sometimes was carried over to the next one
This commit is contained in:
@@ -1009,7 +1009,11 @@ class SublimeMusicApp(Gtk.Application):
|
|||||||
on_song_download_complete=on_song_download_complete,
|
on_song_download_complete=on_song_download_complete,
|
||||||
)
|
)
|
||||||
|
|
||||||
self.player.play_media(uri, self.state.song_progress, song)
|
self.player.play_media(
|
||||||
|
uri,
|
||||||
|
0 if reset else self.state.song_progress,
|
||||||
|
song,
|
||||||
|
)
|
||||||
self.state.playing = True
|
self.state.playing = True
|
||||||
self.update_window()
|
self.update_window()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user