fix HLS stream detection
related to https://github.com/mangui/HLSprovider/issues/116