Closed ljalves closed 11 years ago
@ljalves I have to admit I hadn't considered this, typically its assumed that initial scan would be off (for already scanned muxes). But your suggestion does make sense, so I'll take a look, should be a one line change methinks.
Fixed. Muxes already done are moved to the end, those not are moved to the front. My only concern is if I've broken some logic somewhere! Though I don't think so.
One thing where this logic is broken is that muxes that fail to scan due to lack of adapters are currently stuffed on the end of the list. I think that will just have to do for now (I'm worried about doing a real sort could result in something getting stuck).
When a mux is not yet "initially scanned", tvh should give higher priority to those mux's when scanning.
My testcase was simple:
At this point, tvh will rescan the mux's that already have their initial scan completed ignoring the ones that don't.