[mythtv-users] XMLTV and Schedules Direct

glen glenb at glenb.net
Thu May 20 17:31:45 UTC 2021


On Thu, 2021-05-20 at 09:26 -0400, Steve Greene 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?
> 
> Thanks.
> 
> Steve Greene
> (301) 842-8923
> historicity.co
> An independent archival professional specializing in still
> photography, moving images and recorded sound.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://email.mg.glenb.net/c/eJxNjk0OwiAUhE9TdhLoK_BYsHDjPfhtSQBNQRNvbzUmmsxmvplJJhifbBALyUY6H2eWOHcgubJhRqUQ0GFgS5xRBwjIpNDU2xrLtLC1xOZoi4NsRoQkktKORS28Ay2tB5lQgUduwUdSzDbGbYLzNF8OldxHp_U5tvGg1309ULW5VNu-YW7p-oafxune497Jbv7t8eC3fwGsEkCc
> http://email.mg.glenb.net/c/eJxFjTsOwjAQBU8Td1j-e1O4oKGCMyB_NolFEiDZgLg9kSiQXjWa0Sshd7FYw2pwKaMSnZRJO-ljUeA9aEhQhEEFbdEFhLMtz3HCsTGiH3FOfEZiQ4CkbTY-RyeVhgxKIrjSWiGzskV3bAwD0aPRx0ad9r3rrfLpQwO9-H3pd3KJdaxzfz3Xla5I9bkhEbIl_KzDtuKy7q__6At7uzu6
> MythTV Forums: http://email.mg.glenb.net/c/eJxFjMsKwyAQAL8m3iq6Gt0cPPTS_1B3TQp5FDWF_n0DPRTmMgwMhVwijVY8g0uZQRWtk3HaRwL0Hg0mJGUZcCJDqNw4yRw3Xger5pX3JHfuYgmxFBMdUB49WXYAaCJrimAdkbaTWMPS-6sN5j7A46Ic9dzk9ulLf8ujzqKGn9zOxrVd-3_7AspqM8k

fwiw: i made a simple script to get the listings using sdjson and then
run mythfilldatabase. i set it up as a timer/service under
systemctl/systemd. i run it once a day and its really simple. my
mythfilldatabase looks like this:

mythfilldatabase --file --only-update-guide --sourceid 3 --xmlfile
cable.xml

my grab listings command looks like this:
 
tv_grab_zz_sdjson --days 12 --config-file cable.conf --output cable.xml

i had already made the conf files and leave them in user mythtv's home
directory. and run script that runs one command after the other as user
mythtv. i do same for 2 other sources. i have not had any problems
doing it this way.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20210520/28c5b0d9/attachment.htm>


More information about the mythtv-users mailing list