Ticket #2033: siscan.patch
File siscan.patch, 1.1 KB (added by , 19 years ago) |
---|
-
libs/libmythtv/siscan.cpp
376 376 bool wait_until_complete) 377 377 { 378 378 const DVBStreamData &dsd = (const DVBStreamData &)(*sd); 379 if (wait_until_complete && !dsd.HasCachedSDT() && !dsd.HasCachedAllNIT())379 if (wait_until_complete && (!dsd.HasCachedSDT() || !dsd.HasCachedAllNIT())) 380 380 return; 381 381 382 382 emit ServiceScanUpdateText(tr("Updating Services")); … … 621 621 { 622 622 // always wait for rotor to finish 623 623 GetDVBSignalMonitor()->AddFlags(kDVBSigMon_WaitForPos); 624 GetDVBSignalMonitor()->SetRotorTarget(1.0f); 624 625 625 626 if (item.mplexid > 0) 626 627 { … … 1261 1262 } 1262 1263 1263 1264 // 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, 1265 1266 sdt->ServiceID(i)); 1266 1267 1267 1268 if (chanid < 0)