Ticket #12330: myth.patch

File myth.patch, 1.5 KB (added by mythtv@…, 10 years ago)

Patch which causes missing channels to be found.

  • mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp

    old new void ChannelScanSM::HandleSDT(uint tsid, 
    432432                               SetFreesatAdditionalSI(true);
    433433        setOtherTables = true;
    434434        // The whole BAT & SDTo group comes round in 10s
    435         otherTableTimeout = 10000;
     435        otherTableTimeout = 20000;
    436436        // Delay processing the SDT until we've seen BATs and SDTos
    437437        otherTableTime = timer.elapsed() + otherTableTimeout;
    438438
    static void update_info(ChannelInsertInf 
    10681068    QString service_name = QString::null;
    10691069    if (desc)
    10701070    {
     1071#if 0
    10711072        callsign = desc->ServiceShortName();
    10721073        if (callsign.trimmed().isEmpty())
    10731074            callsign = QString("%1-%2-%3")
    10741075                .arg(ChannelUtil::GetUnknownCallsign()).arg(sdt->TSID())
    10751076                .arg(sdt->ServiceID(i));
     1077#else
     1078        callsign = desc->ServiceShortName();
     1079        if (callsign.trimmed().isEmpty()) {
     1080            callsign = QString("%1-%2-%3")
     1081                .arg(ChannelUtil::GetUnknownCallsign()).arg(sdt->TSID())
     1082                .arg(sdt->ServiceID(i));
     1083        } else {
     1084            callsign = QString("%1-%2").arg(desc->ServiceShortName()).arg(sdt->ServiceID(i));
     1085        }
     1086#endif
    10761087
    10771088        service_name = desc->ServiceName();
    10781089        if (service_name.trimmed().isEmpty())