diff --git a/internal/tui/main.go b/internal/tui/main.go index 242df96..5f5c8b9 100644 --- a/internal/tui/main.go +++ b/internal/tui/main.go @@ -406,6 +406,10 @@ func MainView(ctx *gctx.Context, client *spotify.Client) ([]list.Item, error) { } func InitMain(ctx *gctx.Context, client *spotify.Client, mode string) (tea.Model, error) { + playing, _ := client.PlayerCurrentlyPlaying(ctx) + if playing.Playing { + currentlyPlaying = "Now playing " + playing.Item.Name + " by " + playing.Item.Artists[0].Name + } items := []list.Item{} var err error switch mode {