[mythtv-users] XMLTV grabber returned error code 1

Bill Meek keemllib at gmail.com
Tue May 17 04:54:51 UTC 2022


On 5/16/22 23:13, DryHeat122 wrote:
> 
> 
> On Wed, May 11, 2022, 4:43 PM Bill Meek <keemllib at gmail.com <mailto:keemllib at gmail.com>> wrote:
> 
>     On 5/11/22 16:39, DryHeat122 wrote:
>      >
>      >
>      > On Wed, May 11, 2022 at 11:48 AM Bill Meek <keemllib at gmail.com <mailto:keemllib at gmail.com> <mailto:keemllib at gmail.com
>     <mailto:keemllib at gmail.com>>> wrote:
>      >
>      >     On 5/11/22 12:59, DryHeat122 wrote:
>      >
>      >     I understand redoing a working setup may appear risky. I'd just COPY the files under your
>      >     user to the same places in ~mythtv/.mythtv. Make all related files user:group mythtv
>      >     and the <source>.xmltv file(s) points to mythtv's copy of the SQLite DB. Test that
>      >     the 'normal' MFDB run by the backend works as does the mfdbrun above (or whatever
>      >     you'd like to name it.) I recall that the .xmltv directory must also be mythtv:mythtv
>      >
>      >
>      > I thought about that, but I worry that the frontend may reference these files and lose track of them if I change the directory.
> 
>     The files we're discussing are mainly used at mythfilldatabase run time.
>     I'm ignoring the setup part of the puzzle.
> 
>     The files could vanish and the frontend wouldn't know about it until
>     your listings ran out of data ;).
> 
> 
> So let me ask this: What is it that normally runs mythfilldatabase? Does the backend do it, or is it a cron job, or...
> 
> My thinking is that if I can disable that I can just substitute my own cron job to run mythfilldatabase under my user, and Bob's your uncle.

The backend runs MFDB if enabled (in mythtv-setup). That's what I use on my production host.
Some users like cron, others use a systemd .timer and .service.

Whatever you select, be sure the user that runs MFDB automatically and the user that runs
it casually (from the command line) are the same. Both need to access the *same* set of files
seen in the ASCII art link posted earlier. Some choose to 'solve' issues with symbolic or
even hard links. That's just adding complexity and another thing to break IMNSHO.

-- 
Bill


More information about the mythtv-users mailing list