Pre segment switch

This operates by waiting until a media playlist has loaded and then switches to a different one if it seems like the original choice was incorrect?