• 1
  • 2
  • 3(current)
  • 4
  • 5
  • 21
[RELEASE] 4oD (Video) Addon - UK Channel 4 on demand
#31
Tried it on both windows 7 and atv2 and no luck. Thank you for having a look.
#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.
#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)
#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.
#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?
BBC Live Football Scores: Football scores notifications service.
script.squeezeinfo: shows what's playing on your Logitech Media Server
#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
#37
tried on pc played all the way thru, back to atv2 and worked . cant explain why failing yesterday.
#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
#39
fAILING AGAIN will post a log when i get a chance
#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
#41
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.

Brilliant - this works on ATV2 and 11.0 beta2! Big Grin

I SSH'd into the ATV2 and took a copy of the file /private/var/mobile/Library/Preferences/XBMC/addons/plugin.video.4od/default.py

Made a copy of this on my pc for a backup, then edited the original file on my pc by opening it in notepad and doing a find replace for 11.8.5 to 11.21.2 then copied it back to the ATV2. Now videos are playing fine!
#42
I get script error when loading 4od plugin
XBMC Eden Beta 2 & Mint 12

Crash Log
#43
Running latest version of addon on ATV2 Eden Beta 2.

Keep getting refused connection.

23:14:14 T:212787200 ERROR: RTMP_Connect0, failed to connect socket. 61 (Connection refused)

Full log here: http://pastebin.com/kRKSssUc

I'm set the ATV2 DNS address to unblock-us, so not sure if it is a geolock thing?

Thanks for your help.
#44
spoyser Wrote: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

Great - thanks for letting me know.
BBC Live Football Scores: Football scores notifications service.
script.squeezeinfo: shows what's playing on your Logitech Media Server
#45
Apologies - I fiddled around with my router and got this working. This was indeed a geolock issue.
  • 1
  • 2
  • 3(current)
  • 4
  • 5
  • 21

Logout Mark Read Team Forum Stats Members Help
[RELEASE] 4oD (Video) Addon - UK Channel 4 on demand1