public string GetProgramName(int channel) { var p = GetProgram(channel); if (p == null) return "null"; return p.Name; }