<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I think that after following Stephen's instructions I am nearly
there but I get the following when I run</p>
<p><b>journalctl -eu epg</b></p>
<p>Apr 16 11:27:27 FishMyth systemd[1]: Started Get MHEG5 EPG for
MythTV.<br>
Apr 16 11:27:27 FishMyth bash[4232]: Try 1, running
mhegepgsnoop.py now<br>
Apr 16 11:27:27 FishMyth bash[4234]: Options selected =
Namespace(UTC=False, both=True, clean_titles=False,
demux_device='/dev/dvb/adapter0/><br>
Apr 16 11:27:27 FishMyth bash[4234]: Getting channel info from
MythTV database using Python bindings<br>
Apr 16 11:27:30 FishMyth bash[4234]: Cannot find home directory to
write to<br>
Apr 16 11:27:30 FishMyth bash[4234]: Error accessing mythconverg
database using Python bindings. Exiting.<br>
Apr 16 11:27:30 FishMyth bash[4258]: rm: cannot remove
'/tmp/xmltv.xml': No such file or directory<br>
Apr 16 11:27:30 FishMyth bash[4232]: Warning: mhegepgsnoop failed
(retval=1), retrying after sleep 5m<br>
</p>
<p>I suspect that I might need to edit a few files.<br>
</p>
<div class="moz-cite-prefix">On 14/04/22 23:02, Stephen Worthington
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:jkkf5h9vqucm8031ltu4i1178n6fp3vmf0@4ax.com">To test if
it is working, or if you ever want to run EPG collection
<pre class="moz-quote-pre" wrap="">manually for some reason, do this:
sudo systemctl start epg
To see the status of EPG collection, this command will show you when
the next automatic EPG collection will be done:
systemctl status epg.timer
and this will show you the result of the last EPG run:
systemctl status epg
and this will show you the full output from epg.service, including the
full output of do_mhegepgsnoop.sh, mhegepgsnoop.py, xmltv-proc-nz and
mythfilldatabase:
journalctl -eu epg
You will be in a "less" command showing the end of the systemd journal
for epg.service - page up to see more.
Should you want to check it, the last downloaded EPG will always be
stored here:
/home/mythtv/.mythtv/freeview.xml
This is the version after xmltv-proc-nz processing. If you also want
to keep a copy of the raw MHEG5 data as downloaded, edit
do_mhegepgsnoop and change the TEMP_FILE= line to:
TEMP_FILE=/home/mythtv/.mythtv/freeview-raw.xml
Or you can just look at the /tmp/xmltv.xml file (if you have not
rebooted since EPG was last run.
I do not have a system I can test the above on, so please let me know
if I have done a typo somewhere or if something does not work.
_______________________________________________
mythtvnz mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtvnz@lists.ourshack.com">mythtvnz@lists.ourshack.com</a>
<a class="moz-txt-link-freetext" href="https://lists.ourshack.com/mailman/listinfo/mythtvnz">https://lists.ourshack.com/mailman/listinfo/mythtvnz</a>
Archives <a class="moz-txt-link-freetext" href="http://www.gossamer-threads.com/lists/mythtv/mythtvnz/">http://www.gossamer-threads.com/lists/mythtv/mythtvnz/</a>
</pre>
</blockquote>
</body>
</html>