fix crash if there's no url
refactored play to xbmc code to support getting HTTP urls if HTSP is not available
added transcoding support to xbmc