Because xbmc does not support seeking in hls streams, we should prefer the
encoded_fmt_map urls if they are available since you can seek in the
standard streams.
If no video_url is provided, then checkForErrors will fail because the key does not exist. Add an additional check to check if the key exists or not.
Merge pull request #4 from simplyintricate/master

Prefer the old url_encoded_fmt_stream_map instead of hls because xbmc does not support seeking for hls