/[xmltv_parser]/branches/linux/xmltv_parser/xmltv_parser/ProgramEntryControl.cs
ViewVC logotype

Diff of /branches/linux/xmltv_parser/xmltv_parser/ProgramEntryControl.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/xmltv_parser/ProgramEntryControl.cs	2013/03/14 15:36:22	149
+++ branches/linux/xmltv_parser/xmltv_parser/ProgramEntryControl.cs	2015/07/29 19:09:14	282
@@ -35,7 +35,7 @@
             string runtime = string.Format("{0}min", length.TotalMinutes);
             //txtProgramAirTime.Text = string.Format("{0}{1}{2}", start.ToString("hh:mm tt (dddd dd/yyyy)"), channel, runtime);
 
-            txtProgramTitle.Text = string.Format("{0}: {1}", this.program.Title, this.program.SubTitle);
+            txtProgramTitle.Text = string.Format("{0}: {1} {2}", this.program.Title, this.program.SubTitle, this.program.Rating == string.Empty ? string.Empty : string.Format("({0})", this.program.Rating));
             txtProgramDescription.Text = string.Format("    {0}", this.program.Description);
             txtProgramAirTime.Text = string.Format("        Airs: {0} at {1} on channel: {2} ({3}) ({4})", start.ToString("dddd (MMMM dd, yyyy)"), start.ToString("hh:mm tt"), this.program.ChannelNumber, this.program.ChannelName, runtime);
         }

 

  ViewVC Help
Powered by ViewVC 1.1.22