Ticket #2033: siscan.patch

File siscan.patch, 1.1 KB (added by yeasah@…, 13 years ago)
  • libs/libmythtv/siscan.cpp

     
    376376                                  bool wait_until_complete)
    377377{
    378378    const DVBStreamData &dsd = (const DVBStreamData &)(*sd);
    379     if (wait_until_complete && !dsd.HasCachedSDT() && !dsd.HasCachedAllNIT())
     379    if (wait_until_complete && (!dsd.HasCachedSDT() || !dsd.HasCachedAllNIT()))
    380380        return;
    381381
    382382    emit ServiceScanUpdateText(tr("Updating Services"));
     
    621621    {
    622622        // always wait for rotor to finish
    623623        GetDVBSignalMonitor()->AddFlags(kDVBSigMon_WaitForPos);
     624        GetDVBSignalMonitor()->SetRotorTarget(1.0f);
    624625
    625626        if (item.mplexid > 0)
    626627        {
     
    12611262        }
    12621263
    12631264        // See if service already in database based on service ID
    1264         int chanid = ChannelUtil::GetChanID(db_mplexid, -1, 0, 0,
     1265        int chanid = ChannelUtil::GetChanID(db_mplexid, -1, -1, -1,
    12651266                                            sdt->ServiceID(i));
    12661267
    12671268        if (chanid < 0)