[mythtv-users] Fwd: Fwd: Re: channel4 hd has no eit - cross-eit

John jksjdevelop at gmail.com
Sun Sep 5 10:09:44 UTC 2021


I use 65692 which does work but the number may differ for you, test the 
SD channel you pick as source for the EIT of the HD channel.

I am testing the following to cope with the clocks changing.

I know its cringe worthy but might work, the two versions of crosseit 
have the single line change.

  # Winter --
     # date = dateobj # + datetime.timedelta(seconds=time.altzone)
     # Summer
     date = dateobj + datetime.timedelta(seconds=time.altzone)

  #!/bin/bash
if date +%Z | grep -e BST; then
     echo "Summer"
     ./cross-eit3S.py 65692,"hd.channel4.com"
else
     echo "Winter"
     ./cross-eit3W.py 65692,"hd.channel4.com"
fi
/usr/local/bin/mythfilldatabase --refresh-all --verbose xmltv --file 
--sourceid 1 --xmlfile output.xml



-------- Forwarded Message --------
Subject: 	Re: [mythtv-users] Fwd: Re: channel4 hd has no eit - cross-eit
Date: 	Sun, 5 Sep 2021 11:00:43 +0100
From: 	John <jksjdevelop at gmail.com>
To: 	mythtv-users at mythtv.org



Ok you had me going there. Ignore previous statements of mine!

The Channel to copy from is Channel 4 which does have listings

So select serviceid,chanid,channum,sourceid,callsign,deleted,xmltvid 
from channel where callsign like("Channel 4");

+-----------+--------+---------+----------+-----------+---------------------+---------+
| serviceid | chanid | channum | sourceid | callsign  | 
deleted             | xmltvid |
+-----------+--------+---------+----------+-----------+---------------------+---------+
|      9211 |  19211 | 60001   |        0 | Channel 4 | 2020-11-19 
12:25:08 |         |
|      9211 |  65692 | 113     |        1 | Channel 4 | 
NULL                |         |
|      9212 |  65693 | 60024   |        1 | Channel 4 | 
NULL                |         |
|      9213 |  65694 | 60025   |        1 | Channel 4 | 
NULL                |         |
|      9214 |  65695 | 60026   |        1 | Channel 4 | 
NULL                |         |
|      9216 |  65696 | 60027   |        1 | Channel 4 | 
NULL                |         |
|      8320 |  65827 | 60150   |        1 | Channel 4 | 
NULL                |         |
+-----------+--------+---------+----------+-----------+---------------------+---------+
7 rows in set (0.001 sec)
So the chanid to use is the undeleted ones of the above.

I see I have your choice of 19211 marked as deleted so its probably no 
longer used.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20210905/68f70835/attachment.htm>


More information about the mythtv-users mailing list