continuous EPG download

Added by Markus S. 7 months ago

Hi there,

i´am struggling to understand how the EGA grabber works. I configured it correctly and i do have the EPG data, but he seems to continuously to download. From my logs: Jan 14 23:57:16 plexi tvheadend[6381]: message repeated 47 times: [ spawn: [Sun Jan 14 23:57:16 2018] downloading listings: 56%]
Jan 14 23:57:17 plexi tvheadend[6381]: spawn: [Sun Jan 14 23:57:17 2018] downloading listings: 57%
Jan 14 23:57:17 plexi tvheadend[6381]: message repeated 30 times: [ spawn: [Sun Jan 14 23:57:17 2018] downloading listings: 57%]
Jan 14 23:57:18 plexi tvheadend[6381]: spawn: [Sun Jan 14 23:57:18 2018] downloading listings: 57%
Jan 14 23:57:18 plexi tvheadend[6381]: message repeated 16 times: [ spawn: [Sun Jan 14 23:57:18 2018] downloading listings: 57%]
Jan 14 23:57:18 plexi tvheadend[6381]: spawn: [Sun Jan 14 23:57:18 2018] downloading listings: 58%
Jan 14 23:57:18 plexi tvheadend[6381]: message repeated 21 times: [ spawn: [Sun Jan 14 23:57:18 2018] downloading listings: 58%]
Jan 14 23:57:19 plexi tvheadend[6381]: spawn: [Sun Jan 14 23:57:19 2018] downloading listings: 58%
Jan 14 23:57:19 plexi tvheadend[6381]: message repeated 25 times: [ spawn: [Sun Jan 14 23:57:19 2018] downloading listings: 58%]
Jan 14 23:57:19 plexi tvheadend[6381]: spawn: [Sun Jan 14 23:57:19 2018] downloading listings: 59%
Jan 14 23:57:19 plexi tvheadend[6381]: message repeated 13 times: [ spawn: [Sun Jan 14 23:57:19 2018] downloading listings: 59%]

Basically this goes on for the last xx hours - do i still miss something in my config? I am running currently 4.2.5 stable... Thanks in advance for hints! Markus


Replies (5)

RE: continuous EPG download - Added by Anders Gustafsson 7 months ago

Yes, the script is a bit ugly as it shows a new line on percent change, but does it start again after 100%?

What grabber do you have configured and how?

RE: continuous EPG download - Added by Markus S. 7 months ago

yes, it starts again, over and over again:

Jan 15 10:30:56 plexi tvheadend[6381]: spawn: [Mon Jan 15 10:30:56 2018] downloading listings: 99%
Jan 15 10:30:56 plexi tvheadend[6381]: message repeated 8 times: [ spawn: [Mon Jan 15 10:30:56 2018] downloading listings: 99%]
Jan 15 10:30:57 plexi tvheadend[6381]: spawn: [Mon Jan 15 10:30:57 2018] downloading listings: 99%
Jan 15 10:30:57 plexi tvheadend[6381]: message repeated 7 times: [ spawn: [Mon Jan 15 10:30:57 2018] downloading listings: 99%]
Jan 15 10:30:58 plexi tvheadend[6381]: spawn: [Mon Jan 15 10:30:58 2018] downloading listings: 99%
Jan 15 10:30:58 plexi tvheadend[6381]: spawn: [Mon Jan 15 10:30:58 2018] downloading listings: 100%
Jan 15 10:31:02 plexi tvheadend[6381]: xmltv: /usr/bin/tv_grab_eu_egon: grab took 190 seconds
Jan 15 10:31:04 plexi tvheadend[6381]: xmltv: /usr/bin/tv_grab_eu_egon: parse took 0 seconds
Jan 15 10:31:04 plexi tvheadend[6381]: xmltv: /usr/bin/tv_grab_eu_egon: channels tot= 962 new= 0 mod= 0
Jan 15 10:31:04 plexi tvheadend[6381]: xmltv: /usr/bin/tv_grab_eu_egon: brands tot= 0 new= 0 mod= 0
Jan 15 10:31:04 plexi tvheadend[6381]: xmltv: /usr/bin/tv_grab_eu_egon: seasons tot= 0 new= 0 mod= 0
Jan 15 10:31:04 plexi tvheadend[6381]: xmltv: /usr/bin/tv_grab_eu_egon: episodes tot= 2146 new= 0 mod= 0
Jan 15 10:31:04 plexi tvheadend[6381]: xmltv: /usr/bin/tv_grab_eu_egon: broadcasts tot= 2146 new= 0 mod= 0
Jan 15 10:31:04 plexi tvheadend[6381]: xmltv: /usr/bin/tv_grab_eu_egon: grab /usr/bin/tv_grab_eu_egon
Jan 15 10:31:04 plexi tvheadend[6381]: spawn: Executing "/usr/bin/tv_grab_eu_egon"
Jan 15 10:31:05 plexi tvheadend[6381]: spawn: [Mon Jan 15 10:31:05 2018] downloading listings: 0%
Jan 15 10:31:06 plexi tvheadend[6381]: message repeated 6 times: [ spawn: [Mon Jan 15 10:31:05 2018] downloading listings: 0%]
Jan 15 10:31:06 plexi tvheadend[6381]: spawn: [Mon Jan 15 10:31:06 2018] downloading listings: 0%
Jan 15 10:31:06 plexi tvheadend[6381]: message repeated 41 times: [ spawn: [Mon Jan 15 10:31:06 2018] downloading listings: 0%]
Jan 15 10:31:06 plexi tvheadend[6381]: spawn: [Mon Jan 15 10:31:06 2018] downloading listings: 1%
Jan 15 10:31:06 plexi tvheadend[6381]: spawn: [Mon Jan 15 10:31:06 2018] downloading listings: 1%
Jan 15 10:31:07 plexi tvheadend[6381]: spawn: [Mon Jan 15 10:31:07 2018] downloading listings: 1%
Jan 15 10:31:07 plexi tvheadend[6381]: message repeated 45 times: [ spawn: [Mon Jan 15 10:31:07 2018] downloading listings: 1%]

I installed the grabber as described in the wiki: enabled it in the GUI, changed the user to hts, ran tv_grab_eu_egon --configure, used it´s defaults and that was it.
Is there any cron or GUI setting with a to short period? I would assume it should run daily and maybe it´s set to every minute or every minute per channel or something?

RE: continuous EPG download - Added by Anders Gustafsson 7 months ago

Odd. Let me compare to mine tonight when I am home. My own sketchy notes are below:

[email protected]:~/.hts/tvheadend> tv_grab_se_tvzon --configure
The file at this URL describes which channels are available and where data can be found for them.
Root URL for grabbing data: [http://xmltv.tvzon.se/xmltv/channels.xml.gz]
tv_grab_se_tvzon uses a cache with files that it has already downloaded. Please specify where the cache shall be stored.
Directory to store the cache in: [/home/dalton/.xmltv/cache]
Select the channels that you want to receive data for.
Blue Movie 1 [yes,no,all,none (default=no)] n
13th Street Germany [yes,no,all,none (default=no)] n
13th Street Netherlands [yes,no,all,none (default=no)] a

skapar en config.fil i /home/dalton/.xmltv/tv_grab_se_tvzon.conf

Edit to select what channels to include, change = to ! for disable

gedit /home/dalton/.xmltv/tv_grab_se_tvzon.conf

testaing: tv_grab_se_tvzon --days 2

RE: continuous EPG download - Added by Markus S. 7 months ago

well - same as i did just a different provider. Please don´t get me wrong: I do get the data, but i continuously get it instead of once a day or every 3rd day or whatever...

RE: continuous EPG download - Added by Anders Gustafsson 7 months ago

I have this for the internal grabber:

Cron multi-line:
  1. Default config (00:04 and 12:04 everyday)
    4 */12 * * *

Cron multi-line:
XMLTV Sweden (tvzon)

(1-5/5)