xbmc/xbmc — pull request #744 by Memphiz (2012-02-28 22:06:54+00:00)
Title: [AirPlay] - fix - don't set user-agent for m3u8 urls. Demuxer can't be c...

...reated in this special situation. (curl problem?).

This fixes a airplay regression introduced in b2. When using AIrPlayServer app with live conversion it sends us a http url like:

http://172.22.26.3:45631/live-playback-2.4.0/index_2ead02b4-ae40-48cd-894e-633b77d40b82.m3u8

AirplayServer trys to play it in XBMC with user-agent added:

http://172.22.26.3:45631/live-playback-2.4.0/index_2ead02b4-ae40-48cd-894e-633b77d40b82.m3u8|User-Agent=AppleCoreMedia/1.0.0.8F455 (AppleTV; U; CPU OS 4_3 like Mac OS X; de_de)

Playback bumps out with:

22:39:43 T:2953850880 ERROR: OpenDemuxStream - Error creating demuxer

Without useragent it works.

CptSpiff maybe you have any idea what might be wrong?

I've tried with command line curl with and without set useragent - i allways got the m3u8 - i tried with the file url inside of the m3u8 and on commadnline i also allways got the movie data. Its just not working in XBMC.