Kodi Community Forum
[RELEASE] 4oD (Video) Addon - UK Channel 4 on demand. v.3.0.12 !NOT WORKING! - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand. v.3.0.12 !NOT WORKING! (/showthread.php?tid=134118)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31


RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand. v.1.8.3 - mjeyre - 2012-11-27

yes logged in and thanks just reread cheers !

M


RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand. v.1.8.3 - danz0l - 2012-11-27

Getting script error on launch with frodo beta 1 with latest version of 40d.

Code:
11:57:39 T:3017352976   ERROR: GetDirectory - Error getting plugin://plugin.video.4od/
11:57:39 T:3017352976   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.4od/) failed
11:57:39 T:2500938608  NOTICE: Thread Background Loader start, auto delete: false
11:57:41 T:2500938608  NOTICE: Previous line repeats 1 times.
11:57:41 T:2500938608  NOTICE: Thread XBPyThread start, auto delete: false
11:57:41 T:2500938608  NOTICE: -->Python Interpreter Initialized<--
11:57:41 T:2500938608  NOTICE: Mode: None
11:57:41 T:2500938608  NOTICE: URL: None
11:57:41 T:2500938608  NOTICE: Name: None
11:57:41 T:2500938608  NOTICE: categories
11:57:44 T:2500938608  NOTICE: Thread Background Loader start, auto delete: false
11:57:47 T:2500938608  NOTICE: Previous line repeats 2 times.
11:57:47 T:2500938608  NOTICE: Thread XBPyThread start, auto delete: false
11:57:47 T:2500938608  NOTICE: -->Python Interpreter Initialized<--
11:57:47 T:2500938608  NOTICE: self: <geturllib.CacheHelper instance at 0xaef8d0c>
11:57:47 T:2500938608  NOTICE: setCacheAttempt(True)
11:57:47 T:2500938608  NOTICE: Traceback (most recent call last):
11:57:47 T:2500938608  NOTICE:   File "/home/xbmc/.xbmc/addons/plugin.video.4od/default.py", line 894, in <module>
11:57:47 T:2500938608  NOTICE:     error = executeCommand()
11:57:47 T:2500938608  NOTICE:   File "/home/xbmc/.xbmc/addons/plugin.video.4od/default.py", line 864, in executeCommand
11:57:47 T:2500938608  NOTICE:     error = ShowCategories()
11:57:47 T:2500938608  NOTICE:   File "/home/xbmc/.xbmc/addons/plugin.video.4od/default.py", line 78, in ShowCategories
11:57:47 T:2500938608  NOTICE:     (html, logLevel) = __cache__.GetURLFromCache("http://www.channel4.com/programmes/tags/4od", 20000)
11:57:47 T:2500938608  NOTICE:   File "/home/xbmc/.xbmc/addons/plugin.video.4od/geturllib.py", line 70, in GetURLFromCache
11:57:47 T:2500938608  NOTICE:     html = GetURL( url, self.ifCacheLevel(xbmc.LOGERROR), maxAge )
11:57:47 T:2500938608  NOTICE: NameError: global name 'GetURL' is not defined
11:57:47 T:2500938608   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.NameError'>
                                            Error Contents: global name 'GetURL' is not defined
                                            Traceback (most recent call last):
                                              File "/home/xbmc/.xbmc/addons/plugin.video.4od/default.py", line 894, in <module>
                                                error = executeCommand()
                                              File "/home/xbmc/.xbmc/addons/plugin.video.4od/default.py", line 864, in executeCommand
                                                error = ShowCategories()
                                              File "/home/xbmc/.xbmc/addons/plugin.video.4od/default.py", line 78, in ShowCategories
                                                (html, logLevel) = __cache__.GetURLFromCache("http://www.channel4.com/programmes/tags/4od", 20000)
                                              File "/home/xbmc/.xbmc/addons/plugin.video.4od/geturllib.py", line 70, in GetURLFromCache
                                                html = GetURL( url, self.ifCacheLevel(xbmc.LOGERROR), maxAge )
                                            NameError: global name 'GetURL' is not defined
                                            -->End of Python script error report<--
11:57:47 T:3017352976   ERROR: GetDirectory - Error getting plugin://plugin.video.4od/
11:57:47 T:3017352976   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.4od/) failed
11:57:47 T:2500938608  NOTICE: Thread Background Loader start, auto delete: false



RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand. v.1.8.5 - Mossy - 2012-11-27

Thanks for the bug report Danz0l.

Change log:
Version 1.8.5 (27 Nov 2012)
- Fix launch script error caused by the last fix

For repository/download details see the first post.

Before reporting a problem please read the first post, and note that you need to be logged into Youtube in the Youtube plugin in order to watch recent episodes.


RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand. v.1.8.5 - privado - 2012-11-29

Hi,

Running org.xbmc.xbmc-atv2_11.0-yang~3_iphoneos-arm and since updating to 1.85 I am getting the errors below. Logged into youtube tested a few vid sno problem.
I have even reinstalled xbmc and still same issue, thanks.

Code:
22:31:43 T:125284352  NOTICE: -->Python Interpreter Initialized<--
22:31:44 T:125284352  NOTICE: YouTube-3.3.0
22:31:46 T:125284352  NOTICE: CommonFunctions-1.4.0
22:32:23 T:129368064  NOTICE: -->Python Interpreter Initialized<--
22:32:24 T:129368064  NOTICE: self: <geturllib.CacheHelper instance at 0x6ab944c>
22:32:24 T:129368064  NOTICE: setCacheAttempt(True)
22:32:24 T:129368064  NOTICE: self: <geturllib.CacheHelper instance at 0x6ab944c>
22:32:24 T:129368064  NOTICE: ifCacheLevel(4)
22:32:24 T:129368064  NOTICE: ifCacheLevel self.cacheAttempt: True
22:32:24 T:129368064  NOTICE: _Cache_GetFromFlag() - gFromCache = False
22:32:24 T:129368064  NOTICE: ifCacheLevel return logLevel: 4
22:32:28 T:129368064  NOTICE: self: <geturllib.CacheHelper instance at 0x6ab944c>
22:32:28 T:129368064  NOTICE: ifCacheLevel(4)
22:32:28 T:129368064  NOTICE: ifCacheLevel self.cacheAttempt: True
22:32:28 T:129368064  NOTICE: _Cache_GetFromFlag() - gFromCache = False
22:32:28 T:129368064  NOTICE: ifCacheLevel return logLevel: 4
22:32:28 T:129368064  NOTICE: Traceback (most recent call last):
22:32:28 T:129368064  NOTICE:   File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.4od/default.py", line 894, in <module>
22:32:28 T:129368064  NOTICE:     error = executeCommand()
22:32:28 T:129368064  NOTICE:   File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.4od/default.py", line 864, in executeCommand
22:32:28 T:129368064  NOTICE:     error = ShowCategories()
22:32:28 T:129368064  NOTICE:   File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.4od/default.py", line 90, in ShowCategories
22:32:28 T:129368064  NOTICE:     messageLog = cantFindPatternLog(pattern, html)
22:32:28 T:129368064  NOTICE: NameError: global name 'cantFindPatternLog' is not defined
22:32:28 T:129368064   ERROR: Error Type: <type 'exceptions.NameError'>
22:32:28 T:129368064   ERROR: Error Contents: global name 'cantFindPatternLog' is not defined
22:32:28 T:129368064   ERROR: Traceback (most recent call last):
                                              File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.4od/default.py", line 894, in <module>
                                                error = executeCommand()
                                              File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.4od/default.py", line 864, in executeCommand
                                                error = ShowCategories()
                                              File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.4od/default.py", line 90, in ShowCategories
                                                messageLog = cantFindPatternLog(pattern, html)
                                            NameError: global name 'cantFindPatternLog' is not defined
22:32:28 T:106348544   ERROR: GetDirectory - Error getting plugin://plugin.video.4od
22:32:28 T:106348544   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.4od) failed



RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand. v.1.8.5 - Mossy - 2012-11-30

Looks like you're having problems getting data from the 4oD website. A debug log (see first post) will give more information.


RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand. v.1.8.5 - Spacedementia87 - 2012-12-04

I get URL not found for fresh meat and peep show.


RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand. v.1.8.5 - Mossy - 2012-12-05

I think that happens if you forget to login to Youtube in the Youtube plugin.


RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand. v.1.8.5 - hbunting - 2012-12-05

How about Countdown? I get the cannot find mp4 on all of them. Works on their iPhone app, so surely they've got mp4s around somewhere.


RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand. v.1.8.5 - Spacedementia87 - 2012-12-05

(2012-12-05, 00:30)Mossy Wrote: I think that happens if you forget to login to Youtube in the Youtube plugin.

Hmm, I should be signed in. I can check my subscriptions and everything like that. I'll check again tonight when I am back home.


RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand. v.1.8.5 - Mossy - 2012-12-05

No need. The Youtube plugin is broken (again) for 4oD videos. Probably due to changes in Youtube's website.

This means that recent videos will not work until the Youtube plugin is fixed.


[RELEASE] 4oD (Video) Addon - UK Channel 4 on demand. v.1.8.5 - pgs32 - 2012-12-07

Sorry if this is a stupid question, but I am new to this, 4oD was working fine until yesterday, (xbmc v11:00) since then I am getting the following error message "Error passing stream info can't find pattern in string and unable to stream from YouTube-Can't find pattern in string"

Is this caused by the issue raised in Mossy's post of the 5/12?

Is there a fix that I can do or is it a case of waiting for somebody to fix the YouTube problem?

Thanks in advance for your advice


RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand. v.1.8.5 - Mossy - 2012-12-08

Recent videos will not work. Do not expect this to change anytime soon.

Youtube are now using a more recent rtmp protocol which is not supported by rtmpdump or the Youtube plugin.

Only programmes that were broadcast before mid-August will play.

@pgs32 If the date the videos you are trying to play are from before mid-August then see the first post for info on how to post a debug log.


RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand. v.1.8.5 - mt1234 - 2012-12-11

Hi All,

I get the same error on 3 different machines (2 running Win 7 and an Apple TV). Anything I try to play gives the following error.

Error passing stream info can't find pattern in string and unable to stream from YouTube-Can't find pattern in string

I have tried being logged in and logged out of Youtube, although I understand this may be broken at the moment anyway.

As a test I am using Teachers S02E01, which is years old. It is available on 4OD. I was playing the files without issue until this week.iPlayer is fine still.

Any help will be gratefully received!

Log file with usernames and machine name obscured:

http://pastebin.com/iTVrwddV


RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand. v.1.8.5 - Mossy - 2012-12-12

Thanks for bringing this to my attention.

The 4oD plugin is now broken for all videos due to changes in the 4oD and Youtube encryption.


RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand [BROKEN] - Rhothgar - 2012-12-12

Mossy

This is not entirely correct.

I have restored a backup which has 1.8.3 and Animal Farm under Animals is working for me right now.

Do you need any .py file or something else from my backup because something is clearly working.

I cannot get 1.8.5 to work though so you're right there.

I'd be glad to be of assistance in some tiny wayhere.