<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I'm trying to follow the instructions here:
<a class="moz-txt-link-freetext" href="https://wiki.mythtv.org/wiki/XMLTV">https://wiki.mythtv.org/wiki/XMLTV</a></p>
<p>for the "<span class="mw-headline"
id="Setup_with_tv_grab_zz_sdjson">Setup with tv_grab_zz_sdjson"</span></p>
<p><span class="mw-headline" id="Setup_with_tv_grab_zz_sdjson">with
my notes from previous attempts:</span></p>
<p>To allow MythTV to sleep, mythfilldatabase must be working.<br>
need to install<br>
xmltv<br>
xmltv-util<br>
need to run:<br>
sudo runuser -l mythtv<br>
tv_grab_zz_sdjson --configure --config-file
$HOME/.mythtv/North.xmltv<br>
tv_grab_zz_sdjson --configure --config-file
$HOME/.mythtv/NorthWest.xmltv<br>
tv_grab_zz_sdjson --configure --config-file
$HOME/.mythtv/NorthWest\ ATSC3.xmltv<br>
tv_grab_zz_sdjson --configure --config-file
$HOME/.mythtv/South.xmltv<br>
exit</p>
<p>After doing this, this is what shows up in the log:</p>
<p>2026-05-15T18:09:21.927476-07:00 BlackBox mythfilldatabase:
mythfilldatabase[65912]: I CoreContext filldata.cpp:149 (GrabData)
XMLTV config file is: /home/mythtv/.mythtv/North.xmltv<br>
2026-05-15T18:09:22.227563-07:00 BlackBox mythfilldatabase:
mythfilldatabase[65912]: E CoreContext filldata.cpp:224 (GrabData)
XMLTV grabber returned error code 1<br>
2026-05-15T18:09:22.227629-07:00 BlackBox mythfilldatabase:
mythfilldatabase[65912]: E CoreContext xmltvparser.cpp:842
(parseFile) Malformed XML file, missing </tv> element, at
line 1, Premature end of document.<br>
2026-05-15T18:09:22.427882-07:00 BlackBox mythfilldatabase:
mythfilldatabase[65912]: I CoreContext filldata.cpp:326 (Run)
Updating source #5 (South) with grabber tv_grab_zz_sdjson<br>
2026-05-15T18:09:22.427935-07:00 BlackBox mythfilldatabase:
mythfilldatabase[65912]: I CoreContext filldata.cpp:341 (Run)
Found 24 channels for source 5 which use grabber<br>
2026-05-15T18:09:22.727955-07:00 BlackBox mythfilldatabase:
mythfilldatabase[65912]: I CoreContext filldata.cpp:408 (Run)
Grabber has capabilities: baseline manualconfig preferredmethodĀ <br>
2026-05-15T18:09:23.028205-07:00 BlackBox mythfilldatabase:
mythfilldatabase[65912]: I CoreContext filldata.cpp:433 (Run)
Grabber prefers method: allatonce<br>
</p>
<p>It is pretty clear that MythTV wants an xml file, but the
resulting .xmltv configuration file is not an xml file. For
example the "North.xmltv" file is as follows:</p>
<p>$ cat North.xmltv<br>
cache=/home/mythtv/.xmltv/tv_grab_zz_sdjson.cache<br>
channel-id-format=mythtv<br>
previously-shown-format=date<br>
username=Censored<br>
password=Censored<br>
mode=lineup<br>
lineup!USA-OTA-95127<br>
</p>
<p>I am obviously doing something wrong, but I have been unable to
guess what.</p>
<p>MythTV version: 2:34.0+fixes.20240210.e3e165a1-0ubuntu6</p>
<p>OS version: Linux Mint 22.3 - Cinnamon 64-bit</p>
<pre class="moz-signature" cols="128">--
Note: the attached .asc file is a cryptographic signature that would allow you to verify that this message has not been modified from what was sent.</pre>
</body>
</html>