logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: Newbie Confusion with files: msg#00149

Subject: Re: Newbie Confusion with files
On Wed, 31 Dec 2003, Ricky Buchanan wrote:

>I'm having trouble setting up XMLTV.  I want to end up with five
>separate emails in my email box, the first run through, one for the next
>day, then the day after that, then ... up to the 4th day.  Then every
>day send myself 4 emails - today ... 4th day ahead - without
>re-downloading the 3 days that overlap with yesterday's feed because
>that wastes bandwidth.

I imagine you should use the --days and --offset options.  Once you
have your initial four files, you just need to run --days 1 --offset 3
each day and then send yourself the four most recent files.

(BTW - I make it four messages if you want up to and including the 4th
day.  Of course if you want to grab for today + 4 days, ie five days
in total, use --offset 4.)

>The trouble is tv_to_text seems to choke because I have my LANG set to "C"

Yes this is a stupidity with the Lingua::Preferred module that
tv_to_text uses.  The latest version of that module fixes it:
<http://www.cpan.org/modules/by-module/Lingua/Lingua-Preferred-0.2.4.tar.gz>.
The next release of xmltv will warn about upgrading to this version.

-- 
Ed Avis <ed@xxxxxxxxxxx>





-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click


<Prev in Thread] Current Thread [Next in Thread>