[mythtv-users] XMLTV and Schedules Direct

Stephen Worthington stephen_agent at jsw.gen.nz
Thu May 20 17:41:39 UTC 2021


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.


More information about the mythtv-users mailing list