private void SetScoreProperties(BaseScore score) { string name = " "; string image = "-"; string source = " "; if (score == null) { m_level = 0; } else { name = score.LocName; image = score.Image; source = score.GetSource(); if (String.IsNullOrEmpty(source) == false) { source = Tools.ParseUrl(source, m_center.Parameters); source = source.Replace("http://", String.Empty); source = source.Replace("https://", String.Empty); source = source.Substring(0, source.IndexOf('/')); if (source.StartsWith("www.")) { source = source.Substring(4); } } } ClearProperties(m_level); GUIPropertyManager.SetProperty("#ScoreCenter.Source", source); //Tools.LogMessage("LEVEL = {0}, {1}", m_level, name); GUIPropertyManager.SetProperty("#ScoreCenter.Results", m_center.GetFullName(score, " > ")); SetIcons(score, m_level); SetBackdrop(score); }