move more logic into progressive parsing callback
related to https://github.com/mangui/HLSprovider/issues/140