I can't speak for nibor but given that this plugin works perfectly in Dharma I would hazard a guess that it is more than likely a problem with Eden rather than the plugin itself (updated libraries?).
I have spent quite a while trying to fix it but without success but for any coders looking in it appears to be a problem with the encoding of the pyamf.remoting.Envelope
One thing I have noticed in Eden is that whilst the plugin is downloading an episode it also streams other episodes correctly (to allow this you need to comment out the final while loop in the download code), as soon as the download completes then it starts giving scripts errors.
[RELEASE] Demand 5 (Video) Addon - UK Channel 5 on demand
spoyser
Senior Member Joined: Oct 2011 Reputation: 10 |
2012-01-26 14:21
Post: #41
|
| find quote |
zuccster
Junior Member Posts: 5 Joined: Jun 2011 Reputation: 0 |
OK, I think I've cracked the script error in Eden Beta 2
in .xbmc/addons/plugin.video.demand5/pyamf/xml.py around line 72 add a try / except block around the Code: t = _get_etree_type(etree)Code: try:Modified copy here Also, for convenience a default.py with spoyser's fixed episode parsing. |
| find quote |
spoyser
Senior Member Joined: Oct 2011 Reputation: 10 |
2012-01-27 11:27
Post: #43
zuccster Wrote:OK, I think I've cracked the script error in Eden Beta 2 ![]() ![]() Good one!! Weird thing is I was just looking at that line, put a try/except in to see what was going on and lo and behold found that it then worked! Not sure if it is a bug in the pyamf libraries themselves (surely they have been tested to death by now!) or the way they are being used by the plugin, or why it is only in Eden, but who cares it works. I can finally upgrade the living room XBMC to Eden (my 6 year old wouldn't let me until Milkshake worked!!) ![]()
(This post was last modified: 2012-01-27 12:14 by spoyser.)
|
| find quote |
Jimmer
Member+ Joined: Jan 2010 Reputation: 3 Location: Sunny Devon, UK |
2012-01-27 12:32
Post: #44
zuccster Wrote:Modified copy here Dude, for a high gaf (like waf, but living in sin!) demand5 is essential. This is a solid fix and you have my thanks! +thanks to Spoyser for the parsing fix, too. Anyone let Nibor know about the fixes? Haven't seen any activity on his repo... Jim |
| find quote |
zuccster
Junior Member Posts: 5 Joined: Jun 2011 Reputation: 0 |
2012-01-27 13:04
Post: #45
I've just PM'ed him.
|
| find quote |
Death-Axe
Fan Joined: Feb 2007 Reputation: 4 |
2012-01-28 01:54
Post: #46
Cool fix man, thank you!
|
| find quote |
tdw197
Senior Member Posts: 198 Joined: Oct 2006 Reputation: 0 |
2012-01-28 20:49
Post: #47
Any reason why this fix wouldn't work in Linux? Just tried it and it won't play anything at all now.
|
| find quote |
zuccster
Junior Member Posts: 5 Joined: Jun 2011 Reputation: 0 |
2012-01-28 21:41
Post: #48
tdw197 Wrote:Any reason why this fix wouldn't work in Linux? Just tried it and it won't play anything at all now. Works OK for me on Linux. OS should make no difference. Is there anything in the log? |
| find quote |
tdw197
Senior Member Posts: 198 Joined: Oct 2006 Reputation: 0 |
2012-01-28 21:52
Post: #49
zuccster Wrote:Works OK for me on Linux. OS should make no difference. Is there anything in the log? Will have a look once I can get the wife away from it... |
| find quote |
bladeds
Senior Member Posts: 196 Joined: May 2011 Reputation: 0 |
2012-02-12 04:24
Post: #50
Is there any chance you any would upload a compiled fix copy of the plugin . Since I only have a iPad, no windows I can't download the py file
|
| find quote |


Search
Help