[mythtv-users] XMLTV and Schedules Direct

Steve Greene sgreene820 at gmail.com
Fri May 21 20:53:49 UTC 2021

Progress! I discovered I was pointing to the wrong script in mythtv-setup.
Once I corrected that, I went step by step through the instructions at

I ran mythfilldatabase thusly: "sudo -u mythtv mythfilldatabase". It starts
populating the database, but I notice that I get errors generating the
temporary files for populating the "channels" subfolder for the png
graphics. The owner and group ID's for those folders are not set to
mythtv:mythtv. If I run mythtv-setup again, I notice I'm getting the "no
</tv> tag" error message again. Do the permissions need to be reset for the
subfolders off of /home/mythtv/.mythtv?

Steve Greene
(301) 842-8923
An independent archival professional specializing in still photography,
moving images and recorded sound.

On Thu, May 20, 2021 at 1:43 PM Stephen Worthington <
stephen_agent at jsw.gen.nz> wrote:

> On Thu, 20 May 2021 09:26:47 -0400, you wrote:
> >I keep getting the following error when I run mythfilldatabase (as user
> >mythtv):
> >
> >> 2021-05-20 09:23:17.183995 E  XMLTV grabber returned error code 1
> >> 2021-05-20 09:23:17.433454 E  Malformed XML file, missing </tv> element,
> >> at line 1, Premature end of document.
> >>
> >
> >I've Googled discussions in the past on this issue, but they failed to
> >identify what the problem is and what solved it.
> >
> >FWIW, I've run the grabber independently and it runs perfectly. The error
> >looks to be on the Mythtv side.
> >
> >Any insights?
> When mythfilldatabase says </tv> is missing "at line 1" as you are
> seeing, that normally means it has read a 0 byte file instead of real
> XMLTV data.  If the  line number is a fairly large number, then it is
> likely reading a truncated XMLTV file.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20210521/3070e16c/attachment.htm>

More information about the mythtv-users mailing list