public void Load() { Artist = _xmlWrapper.GetAttribute(EntryNode.Attributes["ARTIST"]); Title = _xmlWrapper.GetAttribute(EntryNode.Attributes["TITLE"]); var locationNode = EntryNode.SelectSingleNode("LOCATION"); Playlist = GetPlayList(locationNode); Path = GetPath(locationNode); var infoNode = EntryNode.SelectSingleNode("INFO"); PlayTime = GetPlayTime(_xmlWrapper.GetAttribute(infoNode.Attributes["PLAYTIME"])); LeadingTempo = GetTempo(EntryNode.SelectSingleNode("TEMPO"), Path); TrailingTempo = GetTempo(EntryNode.SelectSingleNode("TEMPO"), Path, false); TempoText = GetTempoText(LeadingTempo, TrailingTempo); RoundedTrailingTempo = GetRoundedTrailingTempo(TrailingTempo); var comment = _xmlWrapper.GetAttribute(infoNode.Attributes["COMMENT"]).Trim(); Intensity = GetIntensity(comment); LeadingHarmonicKey = GetLeadingHarmonicKey(comment); TrailingHarmonicKey = GetTrailingHarmonicKey(comment, LeadingHarmonicKey); HarmonicKeyText = GetHarmonicKeyText(LeadingHarmonicKey, TrailingHarmonicKey); IsCharting = GetIsCharting(); IsChartingText = GetIsChartingText(IsCharting); FullNameText = GetFullNameText(Artist, Title, TempoText, HarmonicKeyText, Intensity, Playlist); TempoRange.Load(TrailingTempo, 3); // menu item control the range value to be added later HarmonicKeyRange.Load(LeadingHarmonicKey); IntensityRange.Load(Intensity); }