[mythtvnz] No EPG, what am i doing wrong

Stephen Worthington stephen_agent at jsw.gen.nz
Wed Apr 6 06:54:31 BST 2022


On Wed, 6 Apr 2022 17:01:35 +1200, you wrote:


>Thanks Steven - this is helpful.
>
>I'm giving it a go setting it all up using your files and instructions
>(having used tv_grab_nz-py in years gone by, and relying on auto EIT
>more recently, which seems to be broken as of 0.32).
>
>One question: the do_mhegepgsnoop2.sh script refers to a channel map file:
>
># Channel map file.
>MAP_FILE=/home/stephen/bin/mhegepgsnoop_channel_map.txt
>
>What is this? And where might mine be?
>
>Cheers,
>Curtis

Oops, sorry about that - I had noticed that but then forgot to mention
the channel map file option in my post.

The channel map file is for any channels that mhegepgsnoop wrongly
assigns using its builtin fuzzy matching.  Since the recent channel
changes, there are now no channels that fail with fuzzy matching on my
system, so my channel map file is empty.  So you can put an empty
channel map file somewhere (such as
$HOME/.mythtv/mhegepgsnoop_channel_map.txt), or just remove the
channel map file option (-f $MAP_FILE) from the mhegepgsnoop command
line.  To create an empty file, just use the touch command:

cd ~/.mythtv
touch mhegepgsnoop_channel_map.txt

I have changed the suggested location for the file in the
do_mhegepgsnoop.sh file on my web server.  My location for it is
peculiar to the history of my system and probably not the best place
now.  Note that the location needs to have a full path, rather than
using ~/ or $(HOME)/ as do_mhegepgsnoop2.sh is normally going to be
run from root (via a cron job or systemd timer unit).  So you will
need to replace "/home/stephen" with the path to your normal home
directory.



More information about the mythtvnz mailing list