Month: October 2007

MythTV XMLTV grabber errors after upgrade

Posted on

I recently yum’d my machine from FC5 to FC6, which went surprisingly well. Around the same time, MythTV 0.20.2 was released so I upgraded that as well.

However, at that point mythfilldatabase started erroring, and so my guide data was not updating. I did a few manual updates which would work fine, but the overnight job would always fail.

Looking through the logs I saw this message.

  [Mon Sep 10 02:06:50 2007] Retrieving listings: 100%
  [Mon Sep 10 02:06:50 2007] Retrieving listings: 100%
  progress bar already finished at /usr/lib/perl5/vendor_perl/5.8.8/XMLTV/ line 70
  2007-09-10 02:06:50.156 ------------------ End of XMLTV output -----------------
  2007-09-10 02:06:50.169 FAILED:  xmltv returned error code 65280.

It would never occur from an interactive shell, only from the overnight job, so I had a look at the options for the grabber to see if it would run silent, in the hope that it wouldn’t do the progress bar thingy, but the problem is that the grabber is a sub-process of mythfilldatabase.

After some delving I found that you can pass arguments to the grabber with –graboptions

So, my current config is a crontab like this, with the scheduled task in myth disabled.

  /usr/bin/mythfilldatabase --graboptions "--quiet"

That seems to have worked perfectly for nearly three weeks, so I’ll look at implementing that into the mythfill setup in myth rather than running it from crontab.

I just thought it might be of use to someone.