[mythtv-users] metadatalookup -- not searching tvdb after post processing RECORDED
John
reidjr at lineone.net
Thu Nov 1 17:20:39 UTC 2012
On 31/10/12 22:20, Karl Dietz wrote:
> On 31.10.2012 22:03, John wrote:
>> 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;
>>
>> 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
>
> U and L signal the type (U=> unsigned and size L=> long or LL=> long
> long) of the number to the C++ compiler.
>
>> for in eithelper ...
>
> yes, that should do it for testing.
>
>
> But 3 << 16 might be a bit much as it refers to a complete sat position
> from SES Astra (just a guess as 1 is 19.2E and 2 is 28.8E, ONIDs 1 to
> 25 are registered to SES Astra)
>
> Looks like 3 is used at 23.3E
>
> I don't know if 35 << 16 is a bit much as searching for "NetHold IMS"
> does not lead to sensible results but some transports on 19.2E match
> to your data.
>
> After testing you should do like other fixups and be more specific.
>
>> channum chanid frequency sistd ONID TID SID name (xmltvid)
>
>> 1102: 16080 11739000 dvb 3 3202 6080 NED2 HD ()
> > 1106: 16090 11739000 dvb 3 3202 6090 SBS6 HD ()
> > 1162: 16092 11739000 dvb 3 3202 6092 EDL1 HD ()
>
> 3-3202 carries more channels according to Lyngsat, so here is an
> example of channel granularity
>
> fix[ 3202LL << 32 | 3 << 16 | 6080] =
> fix[ 3202LL << 32 | 3 << 16 | 6090] =
> fix[ 3202LL << 32 | 3 << 16 | 6092] = EITFixUp::kFixNL;
>
>> 1101: 17035 11856000 dvb 3 3208 7035 NED1 HD ()
>> 1104: 30826 11856000 dvb 3 3208 7020 RTL4 HD ()
> > 1134: 30827 11856000 dvb 3 3208 7030 VTM HD ()
> > 1139: 17025 11856000 dvb 3 3208 7025 BravaHDTV ()
> > 1143: 17010 11856000 dvb 3 3208 7010 Discovery HD ()
> > 1145: 30825 11856000 dvb 3 3208 7015 NGC HD ()
>
> lets ignore RTL 8 and Penthouse (or maybe they need FixNL, too)
> that would be transport granularity
>
> fix[ 3208LL << 32 | 3 << 16 ] = EITFixUp::kFixNL;
>
> Regards,
> Karl
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
Karl,
Offlist because its a simple (?) question.
1) Trying to add a regex to pick out "subtitle" from description. The
current fixupNl already picks up "Afl.: subtitle." from description. I
have tried and failed to understand the C++ regex syntax represented by :
m_nlSub("\\sAfl\\.:\\s([^\\.]+)\\."),
I thought m_nlSub("\\s"([^\\.]+)""), or m_nlSub("\\s\\"([^\\.]+)\\"") if
the " needs to be escaped, but I am obviously out of my depth.
I realise you didn't sign on to be my personal trainer, but would like
to get this working. If you can point me to a good How to, happy to learn.
2) There is also :
void EITFixUp::FixCategory(DBEventEIT &event) const
{
// remove category movie from short events
if (event.categoryType == kCategoryMovie &&
event.starttime.secsTo(event.endtime) < kMinMovieDuration)
{
/* default taken from ContentDescriptor::GetMythCategory */
event.categoryType = kCategoryTVShow;
}
}
which looks like it should fix my problem of Dutch channels being marked
as category "Film - Comedy" and category_type movie. ( checking the
schedules from the database there was 1 instance where the Film - *
category actually meant a Film, real Films were marked Film !
However the EITFixUp::FixCategory does not seem to be being called, I
assume it is called from somewhere else, but its not within
eitfixup/eithelper. Any pointers ?
3) And for eithelper, this seems a reasonable patch:
--- a/mythtv/libs/libmythtv/eithelper.cpp
+++ b/mythtv/libs/libmythtv/eithelper.cpp
- // Netherlands
+ // Netherlands DVB-C
fix[ 1000U << 16] = EITFixUp::kFixNL;
+ // Canal Digitaal DVB-S 19.2 Dutch/Belgian, ONID 53 covers all
Canal Digitaal TiD
+ fix[ 53U << 16] = EITFixUp::kFixNL;
+ // Canal Digitaal DVB-S(2) 23.5 Dutch/Belgian
+ fix[ 3202LL << 32 | 3U << 16] = EITFixUp::kFixNL;
+ fix[ 3208LL << 32 | 3U << 16] = EITFixUp::kFixNL;
+ fix[ 3211LL << 32 | 3U << 16] = EITFixUp::kFixNL;
+ fix[ 3222LL << 32 | 3U << 16] = EITFixUp::kFixNL;
+ fix[ 3225LL << 32 | 3U << 16] = EITFixUp::kFixNL;
More information about the mythtv-users
mailing list