diff --git a/web/profile.go b/web/profile.go index 58e8b33..5c10bf5 100644 --- a/web/profile.go +++ b/web/profile.go @@ -82,9 +82,11 @@ func profilePageHandler() http.HandlerFunc { return } - if np, ok := scrobble.GetNowPlaying(userId); ok { - profileData.NowPlayingArtist = np.Artist - profileData.NowPlayingTitle = np.SongName + if pageInt == 1 { + if np, ok := scrobble.GetNowPlaying(userId); ok { + profileData.NowPlayingArtist = np.Artist + profileData.NowPlayingTitle = np.SongName + } } rows, err := db.Pool.Query(