Merge pull request #867 from dweymouth/fix/no-playback-on-restore
Prevent scrobbling and short playback artifacts when loading the app with previous track paused
This commit is contained in:
+4
-1
@@ -47,7 +47,10 @@ func NewBottomPanel(pm *backend.PlaybackManager, im *backend.ImageManager, contr
|
||||
|
||||
pm.OnPaused(util.FyneDoFunc(func() { bp.Controls.SetPlaying(false) }))
|
||||
pm.OnPlaying(util.FyneDoFunc(func() { bp.Controls.SetPlaying(true) }))
|
||||
pm.OnStopped(util.FyneDoFunc(func() { bp.Controls.SetPlaying(false) }))
|
||||
pm.OnStopped(util.FyneDoFunc(func() {
|
||||
bp.Controls.SetPlaying(false)
|
||||
bp.Controls.UpdatePlayTime(0, 0)
|
||||
}))
|
||||
|
||||
bp.NowPlaying = widgets.NewNowPlayingCard()
|
||||
bp.NowPlaying.ShowAlbumYear = cfg.AlbumsPage.ShowYears
|
||||
|
||||
Reference in New Issue
Block a user