diff --git a/playingbar.go b/playingbar.go index 5a1983f..1b33284 100644 --- a/playingbar.go +++ b/playingbar.go @@ -110,7 +110,6 @@ func (p *PlayingBar) run() error { } gomu.app.QueueUpdateDraw(func() { - p.text.Clear() p.text.SetText(fmt.Sprintf("%s ┃%s┫ %s\n\n%v", fmtDuration(start), progressBar, diff --git a/start.go b/start.go index e96f20c..f30cea6 100644 --- a/start.go +++ b/start.go @@ -473,7 +473,7 @@ func start(application *tview.Application, args Args) { init := false gomu.app.SetAfterDrawFunc(func(_ tcell.Screen) { - if !init && !gomu.player.IsRunning() { + if !init && len(gomu.queue.items) == 0 { gomu.playingBar.setDefault() init = true }