offbyoneBB / mp-onlinevideos2

MediaPortal OnlineVideos Plugin
15 stars 12 forks source link

4od showing Timeout when searching for programme episodes #135

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Open 4od
2.Select A series
3.You will now get a Timeout Message

What is the expected output? What do you see instead?
To see a list of episodes

What version of MediaPortal are you using? On what operating system?
1.2.3 Windows 7 64bit

What skin?
BlueWide

Please provide any additional information below.

Channel 4 recently made some case changes to the fields used on their website 
which has caused the problem, this is documented on the XBMC forum 
(http://forum.xbmc.org/showthread.php?tid=119550&page=22)

Basically some of the code in the OnlineVideos.Sites.brownard.dll needs to be 
changed to reflect the changes which are:

epsInfo = re.findall( 
'<li.*?data-episode-number="(.*?)".*?data-assetid="(.*?)".*?data-episodeUrl="(.*
?)".*?data-image-url="(.*?)".*?data-txDate="(.*?)".*?data-episodeTitle="(.*?)".*
?data-episodeInfo="(.*?)".*?data-episodeSynopsis="(.*?)".*?data-series-number="(
.*?)"', ol, re.DOTALL )

the above code needs to be changed to the code below (i.e the field names are 
now all in lowercase)

epsInfo = re.findall( 
'<li.*?data-episode-number="(.*?)".*?data-assetid="(.*?)".*?data-episodeurl="(.*
?)".*?data-image-url="(.*?)".*?data-txdate="(.*?)".*?data-episodetitle="(.*?)".*
?data-episodeinfo="(.*?)".*?data-episodesynopsis="(.*?)".*?data-series-number="(
.*?)"', ol, re.DOTALL )

I have manually edited the dll file to reflect these changes and have tested it 
myself on the latest version of Mediaportal and all seems fine, I have attached 
a copy of the fixed dll should you need this.

I would be grateful if you could ammend the dll and ensure it is pushed out in 
the online videos update to enable other users to resume using 4od in online 
videos.

Thanks in advance

Original issue reported on code.google.com by cwait...@gmail.com on 29 May 2012 at 11:21

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks, fixed in r2131

Original comment by bborgsd...@gmail.com on 30 May 2012 at 1:32