joolswills / plugin.video.iplayer

This plugin is broken.
10 stars 4 forks source link

Radio streams error - failed to open url #154

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.open iplayer plug in under music
2.select any radio url
3.

What is the expected output? What do you see instead?
I expect the stream to play but just get could not open url on stream
but examining the log find a  problem decompressing the response. 

Debug log output (http://pastebin.com/)
http://pastebin.com/NbWvtEYN

What version of the plugin are you using? On what OS?
2.5.9

Please provide any additional information below.

Having done some searching it seems to be related to how the bbc site 
compresses their stream list files and httplib2 sending the encoding headers. 

Changing: 
   content = zlib.decompress(content)
 to
    content = zlib.decompress(content, -zlib.MAX_WBITS)
in def _decompressContent(response, new_content):

in file  /home/pi/.xbmc/addons/plugin.video.iplayer/lib/httplib2/__init__.py

Fixes the problem.

Original issue reported on code.google.com by helenofp...@gmail.com on 26 Jul 2014 at 11:37

GoogleCodeExporter commented 9 years ago
does this still happen ? are you able to provide a debug log, as I don't see 
the issue here. 

Original comment by exob...@gmail.com on 7 Nov 2014 at 3:20

GoogleCodeExporter commented 9 years ago
no feedback so closing.

Original comment by exob...@gmail.com on 18 Nov 2014 at 12:10