I’m a user of xmltv, and i must say i love it.
But….
Is far as I can see xmltv downloads and parses every webpage every day.
Is’t it better to do this.
Xmltv downloads the webpages in
/var/xmltv/cache/21-01-2004/channelname
next day listing in
/var/xmltv/cache/22-01-2004/channelname.
After fetching
and saving all the webpages on disk parsing it.
Then the next day it runs…
not downloading and parsing everything again but for example.
--cache-days=7
--parse-days=3
always has 7 days on disk to parse.
And 3 days to check with crc code for differences with the pages on disk.
If no difference on disk …
don’t parse….
If difference
save webpage on disk and parse.
This could do e few good
things…
Speed up parsing because you
don’t need to parse everything again.
Speedup
downloading because you only need to download 1 new day and changed pages.
You don’t have to
download every pages to check crc… just start
download check bits page online and bits on disk… if same… don’t
get… if not download.
Just my idea…
Pascal