public string GetRecordingDisplayText(RecordingSummary recording, bool addChannelName)
 {
     StringBuilder programTitle = new StringBuilder(recording.CreateProgramTitle());
     programTitle.Append(" - ");
     if (addChannelName)
     {
         programTitle.Append(recording.ChannelDisplayName).Append(" - ");
     }
     programTitle.AppendFormat("{0:g}", recording.ProgramStartTime);
     return programTitle.ToString();
 }
 private static string GetRecordingDisplayText(RecordingSummary recording, bool addChannelName)
 {
     StringBuilder programTitle = new StringBuilder(recording.CreateProgramTitle());
     programTitle.Append(" - ");
     if (addChannelName)
     {
         programTitle.Append(recording.ChannelDisplayName).Append(" - ");
     }
     programTitle.Append(FormatDateWithTime(recording.ProgramStartTime, true));
     return programTitle.ToString();
 }