[mythtv-users] metadatalookup -- not searching tvdb after post processing RECORDED

John reidjr at lineone.net
Wed Oct 31 21:03:13 UTC 2012


On 31/10/12 19:54, Karl Dietz wrote:
> On 31.10.2012 18:51, John wrote:
>> This looks like the relevant bit of eitfixup, which is already doing its
>> best with dutch TV :-)
>
> the important part is in eithelper.cpp
>     // Netherlands
>     fix[ 1000U << 16] = EITFixUp::kFixNL;
>
> which translates to "apply this fixup for all events that relate to
> original_network_id 1000" which should be "@Home DVB-C guide in the
> Netherlands" according to the comment in eitfixup.cpp which got merged 
> into  Ziggo according to wikipedia but is actually allocated to "Telia,
> Sweden" according to
> http://www.dvbservices.com/identifiers/original_network_id
>
> Looks like you might not see the fixups applied because the ids don't
> line up...
>
> One of your use cases should already work according to that regexp
>     m_nlSub("\\sAfl\\.:\\s([^\\.]+)\\."),
>
> The relevant values for your channels can be dumped from your mythtv
> database with a simple perl script, see http://paste.ubuntu.com/1320805/
>
> The raw EIT data (to base fixups on) can be seen with dvbsnoop, see
> http://dvbsnoop.sourceforge.net/examples/example-eit.html
> (you need to stop the backend, manually tune and then run dvbsnoop, so
> that might be something for a rainy day ;)
>
> Regards,
> Karl
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
Thank you Karl: Believe it or not I had just managed to find my way 
through the code and came to the same conclusion, but great to have it 
confirmed and explained :-). So most of the hard work has been done, and 
it is a case of adding the appropriate changes to eithelper:

The script was extremely useful, I was trying to work through the 
database effectively by hand :-( . I'll use that again :-)

relevant channels all have a NIT of 3 or 53 :


so a quick hack of

// Netherlands
     fix[ 1000U << 16] = EITFixUp::kFixNL;
     fix[    53U << 16] = EITFixUp::kFixNL;
     fix[       3U << 16] = EITFixUp::kFixNL;

Should be good enough to try it out ? I dont get what the U and Ls are 
for in eithelper ...



    channum chanid  frequency sistd  ONID   TID   SID  name (xmltvid)
        101:  6011   12515000   dvb    53  1105  4011  NED1 ()
        102:  6012   12515000   dvb    53  1105  4012  NED2 ()
        103:  6013   12515000   dvb    53  1105  4013  NED3 ()
        104:  4004   12344000   dvb    53  1097  2004  RTL4 ()
        105:  4005   12344000   dvb    53  1097  2005  RTL5 ()
        106:  6002   12515000   dvb    53  1105  4002  SBS6 ()
        107:  4006   12344000   dvb    53  1097  2006  RTL7 ()
        108:  6003   12515000   dvb    53  1105  4003  NET5 ()
        109:  4035   12344000   dvb    53  1097  2035  RTL8 ()
        110:  4031   12344000   dvb    53  1097  2031 Veronica/DisneyXD ()
        111:  6016   12515000   dvb    53  1105  4016  BVN-TV ()
        122:  6007   12515000   dvb    53  1105  4007  Film1.2 ()
        131: 14775   12722000   dvb    53  1119 12775  een ()
        132: 14776   12722000   dvb    53  1119 12776  Ketnet/Canvas ()
        134: 14771   12722000   dvb    53  1119 12771  VTM ()
        135: 14773   12722000   dvb    53  1119 12773  VT4 ()
        136: 14783   12722000   dvb    53  1119 12783  JIM ()
        138: 14772   12722000   dvb    53  1119 12772  2BE ()
        141:  4020   12344000   dvb    53  1097  2020  Animal Planet ()
        143:  4015   12344000   dvb    53  1097  2015  Discovery ()
        144:  7015   12344000   dvb    53  1097  2036  TMF/Comedy Central ()
        145:  6015   12515000   dvb    53  1105  4015  NGC ()
        146:  4025   12344000   dvb    53  1097  2025  EUROSPORT ()
        150:  7030   12574000   dvb    53  1109  5030  Eredivisielive 1 ()
       1101: 17035   11856000   dvb     3  3208  7035  NED1 HD ()
       1102: 16080   11739000   dvb     3  3202  6080  NED2 HD ()
       1103: 30950   12187000   dvb     3  3225 21040  NED3 HD ()
       1104: 30826   11856000   dvb     3  3208  7020  RTL4 HD ()
       1105: 31015   12187000   dvb     3  3225 21015  RTL5 HD ()
       1106: 16090   11739000   dvb     3  3202  6090  SBS6 HD ()
       1107: 31010   12187000   dvb     3  3225 21010  RTL7 HD ()
       1108: 31020   12187000   dvb     3  3225 21020  NET5 HD ()
       1110: 31035   12187000   dvb     3  3225 21035 Veronica/DisneyXD 
HD ()
       1111: 30812   11914000   dvb     3  3211 20812  TV Drenthe ()
       1121: 30955   12129000   dvb     3  3222 20955  Film 1 HD ()
       1122: 30910   12129000   dvb     3  3222 20910  Film1.2 ()
       1123: 30915   12129000   dvb     3  3222 20915  Film1.3 ()
       1124: 30920   12129000   dvb     3  3222 20920  Film1 Action ()
       1131: 31025   12187000   dvb     3  3225 21025  een HD ()
       1132: 31030   12187000   dvb     3  3225 21030  Ketnet/Canvas HD ()
       1134: 30827   11856000   dvb     3  3208  7030  VTM HD ()
       1139: 17025   11856000   dvb     3  3208  7025  BravaHDTV ()
       1142: 15040   12109000   dvb     3  3221  5042  HISTORY HD DUT ()
       1143: 17010   11856000   dvb     3  3208  7010  Discovery HD ()
       1145: 30825   11856000   dvb     3  3208  7015  NGC HD ()
       1160: 30960   12129000   dvb     3  3222 20960  Sport1 LiveHD ()
       1162: 16092   11739000   dvb     3  3202  6092  EDL1 HD ()
       1181: 30820   11914000   dvb     3  3211 20820  Omroep Brabant 
Televisie ()
       1182: 30822   11914000   dvb     3  3211 20822  History ()
       1183: 30823   11914000   dvb     3  3211 20823  History. ()
       1184: 30824   11914000   dvb     3  3211 20824  Zakelijk aanvoer 
kanaal ()
       1191: 30814   11914000   dvb     3  3211 20814  TV Oost ()
       1192: 30816   11914000   dvb     3  3211 20816  TV Gelderland ()
       1193: 30818   11914000   dvb     3  3211 20818  Omroep Zeeland 
Televisie ()
       1194: 30802   11914000   dvb     3  3211 20802  L1MBURG ()
       1195: 30804   11914000   dvb     3  3211 20804  TV Rijnmond ()
       1196: 30806   11914000   dvb     3  3211 20806  TV Noord-Holland ()
       1197: 30808   11914000   dvb     3  3211 20808  Omrop Fryslan 
Televisie ()
       1198: 30810   11914000   dvb     3  3211 20810  TV Noord ()





More information about the mythtv-users mailing list