private void songChangedHandler(object sender, EventArgs e) { progressTimer.Enabled = true; ATL.Track metadata = new ATL.Track(PlayerForm.filePath); titleLabel.Text = $"{metadata.Artist} - {metadata.Title}"; Text = $"{metadata.Artist} - {metadata.Title} | FRESHMusicPlayer"; getAlbumArt(); ProgressBar.Maximum = (int)PlayerForm.Player.CurrentBackend.TotalTime.TotalSeconds; if (Properties.Settings.Default.General_DiscordIntegration) { PlayerForm.UpdateRPC("play", metadata.Artist, metadata.Title); } }