Mailing List Archive

how many days for mythfilldatabase?
Seems to me that mythfilldatabase is only grabbing 2 days (48 hours) of program
guide? Is this so? Is there a way to control this? Feel free to point out my
stupidity and tell me it's in section x.y.z! I can't find anything but a section
in the mythfilldatabase source code..

...Kevin

--
"Testing proves testing works." - Dave Thomas

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
Re: how many days for mythfilldatabase? [ In reply to ]
Kevin J. Slater writes:

> Seems to me that mythfilldatabase is only grabbing 2 days (48 hours) of program
> guide? Is this so? Is there a way to control this? Feel free to point out my
> stupidity and tell me it's in section x.y.z! I can't find anything but a section
> in the mythfilldatabase source code..
>
I'm not sure if this is what you mean, but my experience is that after the
initial mythfilldatabase run, the daily one will download the following
day's info and then fill in one day two weeks in advance so that the
database is always populated for the full two weeks.

If this is not what you are seeing, then you will have to give a little more
info, perhaps sample output.

Ian Truelsen
Email: ian@ihtruelsen.dyndns.org
Homepage: http://www.ihtruelsen.dyndns.org
RE: Re: how many days for mythfilldatabase? [ In reply to ]
> > Seems to me that mythfilldatabase is only grabbing 2 days (48 hours) of program
> > guide? Is this so? Is there a way to control this? Feel free to point out my
> > stupidity and tell me it's in section x.y.z! I can't find anything but a section
> > in the mythfilldatabase source code..
> >
> I'm not sure if this is what you mean, but my experience is that after the
> initial mythfilldatabase run, the daily one will download the following
> day's info and then fill in one day two weeks in advance so that the
> database is always populated for the full two weeks.

It is certainly country specific. In the UK grabber, 3-4 days is all that is possible... (limitation of the site where listings are retrieved from) However, I notice that tvtv.co.uk offers 2 weeks worth of times, so perhaps a grabber can be written for that site...
Re: how many days for mythfilldatabase? [ In reply to ]
Ian wrote:

>Kevin J. Slater writes:
>
>> Seems to me that mythfilldatabase is only grabbing 2 days (48 hours) of
>> program guide? Is this so? Is there a way to control this? Feel free to point
>> out my stupidity and tell me it's in section x.y.z! I can't find anything but
>> a section in the mythfilldatabase source code..
>>
>I'm not sure if this is what you mean, but my experience is that after the
>initial mythfilldatabase run, the daily one will download the following
>day's info and then fill in one day two weeks in advance so that the
>database is always populated for the full two weeks.
>
>If this is not what you are seeing, then you will have to give a little more
>info, perhaps sample output.

Ok, that is indeed my question. And I'm not seeing what you suggest. Rather it
seems that mythfilldatabase is getting the following day only. It doesn't
indicate that its having any trouble either. Wasn't there some setting that
controlled how many days of programming it kept? Maybe it was during the build
stage? In any case, any suggestions on where to look for trouble? I was able to
use tv_grab_na to grab 7 days worth of listings (using my
$HOME/.mythtv/DirecTV.xmltv as the config file) into a file. Then I invoked
mythfilldatabase with the input file options and it happily parsed the file into
the myth database.

...Kevin



-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
Re: Re: how many days for mythfilldatabase? [ In reply to ]
>>>>> On Tue, 25 Mar 2003 11:45:54 -0500, "Kevin J. Slater" <kslater@pobox.com> said:

k> Ok, that is indeed my question. And I'm not seeing what you
k> suggest. Rather it seems that mythfilldatabase is getting the
k> following day only. It doesn't indicate that its having any trouble
k> either. Wasn't there some setting that controlled how many days of
k> programming it kept? Maybe it was during the build stage? In any
k> case, any suggestions on where to look for trouble? I was able to
k> use tv_grab_na to grab 7 days worth of listings (using my
k> $HOME/.mythtv/DirecTV.xmltv as the config file) into a file. Then I
k> invoked mythfilldatabase with the input file options and it happily
k> parsed the file into the myth database.


I think it has worked this way for a long time now:

If you run mythfilldatabase+tv_grab_na immediately after it
has just run, it only grabs program info for one day (tomorrow). If
you run it once a day, it will only grab info for two days (tomorrow
and tomorrow+7). It grabs a full 8 days worth only when your database
is empty (eg. the first time you run). On subsequent runs, it always
grabs program info for the next day (to pick up programming changes).
It will then check to see if it needs to grab program info for today
and for the next eight days. If any programming info for that day
already exists (at least 20 programs in the table), it will not grab
program info again.

--
Gregorio Gervasio, Jr.
gtgj@pacbell.net
Re: how many days for mythfilldatabase? [ In reply to ]
Aha! Now this mystery is solved. I didn't mention that I'm also running
the ppv.pl script that Nathan put together. This fills the ppv info for
DirecTV out at least 1 week into the future and it's plenty more than 20
channels worth. So I have a little more work to do after I do my ppv updates.

...Kevin


> I think it has worked this way for a long time now:
>
> If you run mythfilldatabase+tv_grab_na immediately after it
>has just run, it only grabs program info for one day (tomorrow). If
>you run it once a day, it will only grab info for two days (tomorrow
>and tomorrow+7). It grabs a full 8 days worth only when your database
>is empty (eg. the first time you run). On subsequent runs, it always
>grabs program info for the next day (to pick up programming changes).
>It will then check to see if it needs to grab program info for today
>and for the next eight days. If any programming info for that day
>already exists (at least 20 programs in the table), it will not grab
>program info again.
>
>--
>Gregorio Gervasio, Jr.


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/