[mythtv-users] Listings after 9pm eventually go missing.

Bruce Markey bjm at lvcm.com
Sun May 30 22:41:44 EDT 2004

Kyle Kelly wrote:
> Heres a weird problem I'm having.
> I'm using cvs (upgraded and installed shortly after 0.15 release) and 
> have a datadirect account setup and working.  The problem goes like 
> this.  After setting up the datadirect datasource and doing the initial 
> mythfilldatabase I have a complete 13 day listing which is perfect.  
> Unfortunately for each following day that mythfilldatabase is run by 
> mythbackend a good majority of the channels listings after 9pm are shown 
> as Unknown in epg and NO DATA in mythweb.  This problem occurs occurs to 
> each day of listings added after the initial mythfilldatabase.  Quite a 
> bit of the shows I'm interested in are on at the 9-12pm timeslot and so 
> obviously this is a quite annoying problem.

The days of information turned in from the TV stations are up
through shows that start by 5pm. Therefore, the very last day is
always partial. This patch tells mythfilldatabase to grab the 12th
ahead rather than the 13th so you will get fewer of these partial
days but they may still happen occasionally.

--  bjm
-------------- next part --------------
Index: programs/mythfilldatabase/filldata.cpp
RCS file: /var/lib/mythcvs/mythtv/programs/mythfilldatabase/filldata.cpp,v
retrieving revision 1.112
diff -u -r1.112 filldata.cpp
--- programs/mythfilldatabase/filldata.cpp	28 May 2004 17:43:25 -0000	1.112
+++ programs/mythfilldatabase/filldata.cpp	31 May 2004 02:32:59 -0000
@@ -2517,7 +2517,7 @@
                 xmltv_grabber == "tv_grab_sn")
                 maxday = 14;
             if (xmltv_grabber == "datadirect")
-                maxday = 13;
+                maxday = 12;
             for (int i = 0; i < maxday; i++)

More information about the mythtv-users mailing list