/[xmltv_parser]/trunk/libxmltv/Core/XMLTVRuntimeInstance.cs
ViewVC logotype

Diff of /trunk/libxmltv/Core/XMLTVRuntimeInstance.cs

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

--- trunk/libxmltv/Core/XMLTVRuntimeInstance.cs	2013/03/16 19:59:44	190
+++ trunk/libxmltv/Core/XMLTVRuntimeInstance.cs	2013/03/16 20:07:53	191
@@ -139,7 +139,7 @@
             if (this.Channels != null)
             {
                 this.Channels.TrimExcess();
-                xmltv_logger.Info.WriteLine("Source Loaded: '{0}' Channels from source '{1}'", this.Channels.Count, this.Source.SourceName);
+                xmltv_logger.Info.WriteLine("Source Loaded: '{0}' Channels from source '{1}'", this.Channels.ToArray().Count(), this.Source.SourceName);
             }
             else
             {
@@ -149,7 +149,7 @@
             if (this.Programs != null)
             {
                 this.Programs.TrimExcess();
-                xmltv_logger.Info.WriteLine("Source Loaded: '{0}' Programs from source '{1}'", this.Programs.Count, this.Source.SourceName);
+                xmltv_logger.Info.WriteLine("Source Loaded: '{0}' Programs from source '{1}'", this.Programs.ToArray().Count(), this.Source.SourceName);
             }
             else
             {

 

  ViewVC Help
Powered by ViewVC 1.1.22