hls: handle error when getting key
hls: refactor some code
disney: grab the right video when fragment is available.