[RELEASE] 4oD (Video) Addon - UK Channel 4 on demand

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
Slatri Offline
Member
Posts: 74
Joined: Jul 2011
Reputation: 0
Post: #31
Tried it on both windows 7 and atv2 and no luck. Thank you for having a look.
find
micksmoo2 Offline
Junior Member
Posts: 7
Joined: Oct 2005
Reputation: 0
Post: #32
Funnily enough - this now works on ATV2. The only thing I did was install ATV Flash 1.2 and that's it. I didn't install any of the apps through it. The programmes I tried before that bombed out after a minute I have now played in full.

Strange.

If you're stuck - give it a go - don't know why it works now, but it does.

Thanks for all the help.
find
jackparsons Offline
Junior Member
Posts: 34
Joined: Jan 2012
Reputation: 0
Post: #33
nibor Wrote:The best way to install and ensure you receive updates as well as quick access to my other addons, is to install my repository from:
http://nibor-xbmc-repo.googlecode.com/fi....nibor.zip
Works on XBMC Eden Beta 2 Linux (Mint 12)
find
okanee Offline
Junior Member
Posts: 3
Joined: Jan 2012
Reputation: 0
Post: #34
njtaylor Wrote:rtmpdump from your log is using 4odplayer-11.8.5.swf which no longer exists,
ERROR: RTMP_HashSWF: swfurl http://www.channel4.com/static/programme...11.8.5.swf not found

From a 4OD web page, this is the current version -
var fourodPlayerFile = '4odplayer-11.21.2.swf';

I don't have XBMC, so these instructions may not be accurate, if someone having the problem would like to try this and confirm if this fixes the problem or not. Take a backup copy of the file .XBMC/addons/plugin.video.4od/default.py first, then change the lines in this file from 11.8.5 to the current 11.21.2 version on lines 164, 243, lines 231, 242 don't require changing as comments. If this doesn't work restore the backup copy.
I gave this a try and unfortunately it didn't work on the ATV2 - will post a log when I can.

Thanks for having a look.
find
el_Paraguayo Offline
Fan
Posts: 448
Joined: Feb 2011
Reputation: 7
Location: London, UK
Post: #35
I'm getting an error when trying to launch an episode of Misfits.

Log extract:
Code:
20:13:00 T:1684134768 M:3687927808  NOTICE: -->Python Interpreter Initialized<--
20:13:00 T:1684134768 M:3687927808  NOTICE: Traceback (most recent call last):
20:13:00 T:1684134768 M:3687927808  NOTICE:   File "/home/anto/.xbmc/addons/plugin.video.4od/default.py", line 318, in ?
20:13:00 T:1684134768 M:3687927808  NOTICE:     ShowEpisodes( showId, title )
20:13:00 T:1684134768 M:3687927808  NOTICE:   File "/home/anto/.xbmc/addons/plugin.video.4od/default.py", line 78, in ShowEpisodes
20:13:00 T:1684134768 M:3687927808  NOTICE:     genre = re.search( '<meta name="primaryBrandCategory" content="(.*?)"/>', html, re.DOTALL ).groups()[0]
20:13:00 T:1684134768 M:3687927808  NOTICE: AttributeError: 'NoneType' object has no attribute 'groups'
20:13:00 T:1684134768 M:3687927808   ERROR: Error Type: exceptions.AttributeError
20:13:00 T:1684134768 M:3687927808   ERROR: Error Contents: 'NoneType' object has no attribute 'groups'
20:13:00 T:1684134768 M:3687927808   ERROR: Traceback (most recent call last):
                                              File "/home/anto/.xbmc/addons/plugin.video.4od/default.py", line 318, in ?
                                                ShowEpisodes( showId, title )
                                              File "/home/anto/.xbmc/addons/plugin.video.4od/default.py", line 78, in ShowEpisodes
                                                genre = re.search( '<meta name="primaryBrandCategory" content="(.*?)"/>', html, re.DOTALL ).groups()[0]
                                            AttributeError: 'NoneType' object has no attribute 'groups'
20:13:00 T:3020089216 M:3687927808   ERROR: GetDirectory - Error getting plugin://plugin.video.4od/?show=misfits-online-vegas-baby&title=Misfits+Online%3A+Vegas+Baby%21
20:13:00 T:3020089216 M:3687927808   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.4od/?show=misfits-online-vegas-baby&title=Misfits+Online%3A+Vegas+Baby%21) failed

I suspect the error is a result of the ":" or the "!" in the program name, but I don't know enough regex to attempt modding the code.

Any idea how to fix it?

MythSuspendAlarm: Suspend xbmc and set ACPI wake alarm based on next scheduled MythTV recording.
BBC Football Scores: Get live football score notifications.
Random Movie Script: Play random movies from user's library (for skinners).
find
deaddox Offline
Junior Member
Posts: 2
Joined: Jan 2012
Reputation: 0
Post: #36
I can report a bit of new strange activity.

I tried the plugin again today and it was still not working.
I then decided that i would create a log file. So i first went to the 4OD site to check it worked on the PC.

I then enabled debug.

Selected a file that 5 min earlier stopped after a min or so and it now played for over 10 min before i stopped the file.

I tried a few more and they all seem to work now.

I have no idea why its suddenly working. Off the top of my head it was either random chance. Or either visiting the 4od site some how authorised my IP address or debug mode fixed it.

Can some 1 try going to the 4od site from a computer that's behind there router but not there XBMC device and see if that helps.

Dox
find
gdf68 Offline
Junior Member
Posts: 4
Joined: Jan 2012
Reputation: 0
Post: #37
tried on pc played all the way thru, back to atv2 and worked . cant explain why failing yesterday.
find
spoyser Offline
Senior Member
Posts: 236
Joined: Oct 2011
Reputation: 10
Post: #38
el_Paraguayo Wrote:I'm getting an error when trying to launch an episode of Misfits.

Log extract:
Code:
20:13:00 T:1684134768 M:3687927808  NOTICE: -->Python Interpreter Initialized<--
20:13:00 T:1684134768 M:3687927808  NOTICE: Traceback (most recent call last):
20:13:00 T:1684134768 M:3687927808  NOTICE:   File "/home/anto/.xbmc/addons/plugin.video.4od/default.py", line 318, in ?
20:13:00 T:1684134768 M:3687927808  NOTICE:     ShowEpisodes( showId, title )
20:13:00 T:1684134768 M:3687927808  NOTICE:   File "/home/anto/.xbmc/addons/plugin.video.4od/default.py", line 78, in ShowEpisodes
20:13:00 T:1684134768 M:3687927808  NOTICE:     genre = re.search( '<meta name="primaryBrandCategory" content="(.*?)"/>', html, re.DOTALL ).groups()[0]
20:13:00 T:1684134768 M:3687927808  NOTICE: AttributeError: 'NoneType' object has no attribute 'groups'
20:13:00 T:1684134768 M:3687927808   ERROR: Error Type: exceptions.AttributeError
20:13:00 T:1684134768 M:3687927808   ERROR: Error Contents: 'NoneType' object has no attribute 'groups'
20:13:00 T:1684134768 M:3687927808   ERROR: Traceback (most recent call last):
                                              File "/home/anto/.xbmc/addons/plugin.video.4od/default.py", line 318, in ?
                                                ShowEpisodes( showId, title )
                                              File "/home/anto/.xbmc/addons/plugin.video.4od/default.py", line 78, in ShowEpisodes
                                                genre = re.search( '<meta name="primaryBrandCategory" content="(.*?)"/>', html, re.DOTALL ).groups()[0]
                                            AttributeError: 'NoneType' object has no attribute 'groups'
20:13:00 T:3020089216 M:3687927808   ERROR: GetDirectory - Error getting plugin://plugin.video.4od/?show=misfits-online-vegas-baby&title=Misfits+Online%3A+Vegas+Baby%21
20:13:00 T:3020089216 M:3687927808   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.4od/?show=misfits-online-vegas-baby&title=Misfits+Online%3A+Vegas+Baby%21) failed

I suspect the error is a result of the ":" or the "!" in the program name, but I don't know enough regex to attempt modding the code.

Any idea how to fix it?

Seems that is exclusive content for which you need to be logged in to view, see here:

http://www.channel4.com/microsites/M/misfits/main.html
find
gdf68 Offline
Junior Member
Posts: 4
Joined: Jan 2012
Reputation: 0
Post: #39
fAILING AGAIN will post a log when i get a chance
find
gdf68 Offline
Junior Member
Posts: 4
Joined: Jan 2012
Reputation: 0
Post: #40
njtaylor Wrote:rtmpdump from your log is using 4odplayer-11.8.5.swf which no longer exists,
ERROR: RTMP_HashSWF: swfurl http://www.channel4.com/static/programme...11.8.5.swf not found

From a 4OD web page, this is the current version -
var fourodPlayerFile = '4odplayer-11.21.2.swf';

I don't have XBMC, so these instructions may not be accurate, if someone having the problem would like to try this and confirm if this fixes the problem or not. Take a backup copy of the file .XBMC/addons/plugin.video.4od/default.py first, then change the lines in this file from 11.8.5 to the current 11.21.2 version on lines 164, 243, lines 231, 242 don't require changing as comments. If this doesn't work restore the backup copy.

Changed the default .py as suggested and works for me on ATV2 edenb2
find
Thread Closed