Kodi Community Forum
[RELEASE] 4oD (Video) Addon - UK Channel 4 on demand - 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 (/showthread.php?tid=119550)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21


RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand - Slatri - 2012-06-13

http://pastebin.com/Q5ShUJbc This should be better. Thanks Mossy


RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand - dlake02 - 2012-06-13

@idlerobbo

Which SOCKS Proxy are you using ? I have tried ss5 and srelay on my CentOS VPS, and neither work... I'm either doing something very stupid, or I need a different proxy.

David


RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand - Mossy - 2012-06-14

@Slatri - new test version should fix that problem.

@dlake - does the debug output give any hints?



RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand - dlake02 - 2012-06-14

@Mossy - no :-(

But the problem appears to be related to the socks implementation when retrieving HTTP files. I've tested my SOCKS proxy with the iPlayer app and with my browser, and all is fine.

Looking at the iPlayer app, they are using the standard socks.py as part of the httplib2 resources. I've had a quick look at the 4OD code, and using the same library should be straightforward, but will need some changes. I'm happy to have a look at this sometime, but I'm a little busy at the moment.....

D


RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand - Mossy - 2012-06-15

(2012-06-14, 11:57)Mossy Wrote: @dlake - does the debug output give any hints?

(2012-06-14, 19:13)dlake02 Wrote: @Mossy - no :-(

But the problem appears to be related to the socks implementation when retrieving HTTP files.

I'm very surprised that there isn't a urlerror logged due to the lack of successful connection in that case. That in itself is a bug, so it would be helpful to see the debug log, if you could post it.

(2012-06-14, 19:13)dlake02 Wrote: Looking at the iPlayer app, they are using the standard socks.py as part of the httplib2 resources.

Well done for spotting that David, I assumed that urllib2 supported SOCKS proxies directly.

iplayer is using a thirdy party module called socksipy (with some modifications the iplayer guys added). I've copied that module into the 4od plugin.

Now rtmpdump/librtmp only supports SOCK4, but it occurs to me that maybe only some of the 4oD urls are geo-locked, it is possible that the rtmp streams are not geo-locked, and can be streamed by anyone providing the correct authentication. If this is the case then I can stop passing the socks proxy parameters to librtmp/rtmpdump.

This will allow the plugin to use all of the proxy types supported by socksipy (HTTP, HTTP-tunneling, SOCK4 and SOCK5).

The latest version incorporates those changes.

As always, if there are problems please post a debug log (to the new thread).



RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand - buges - 2012-06-17

@Mossy

Download working perfectly in v1.0.4

Thank you



RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand - nonameneo - 2012-06-21

When trying to play anything, either nothing happens or I get an error saying, that one or more items could not be played.

I've uploaded log into: http://pastebin.com/P4crH7UP

Can anybody help me with this?


RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand - ringo - 2012-06-24

Hello i'm new here. All i want is to get 40d working with xbmc.
Well slowly slowly i'm there but... i can't get it to download the show. Can watch it but i get a script error if i download. Then just before no script error but download fail. Is this a standard fault?

"mp4:assets/CH4_08_02_900_49236001001002_003.mp4?auth=da_aPaRazbbbocscFdnd1adbrbGcpaKawc1-bp575z-eS-exP-pRkenbsTkcmfnVnRrSmUpTp9l7m8lQnQpTk6n7sWkhmhnSnSqclbpRqQlbm6kdm8p8k7ocrclXn1nXnf&aifp=v002&slist=assets/CH4_08_02_900_49236001001002_003.mp4" -o "C:\hughs-fish-fight.s01e01.flv"
11:26:49 T:27024 NOTICE: Getting subtitles
11:26:54 T:27024 NOTICE: "E:\xbmc\rtmpdump-20110925-git-6230845-win32.zip" --rtmp "rtmpe://ak.securestream.channel4.com:1935/4oD/" --app "4oD/?ovpfv=1.1&auth=da_aPaRazbbbocscFdnd1adbrbGcpaKawc1-bp575z-eS-exP-pRkenbsTkcmfnVnRrSmUpTp9l7m8lQnQpTk6n7sWkhmhnSnSqclbpRqQlbm6kdm8p8k7ocrclXn1nXnf&aifp=v002&slist=assets/CH4_08_02_900_49236001001002_003.mp4" --flashVer "WIN 11,0,1,152" --swfVfy "http://www.channel4.com/static/programmes/asset/flash/swf/4odplayer-11.25.4.swf" --conn Z: --playpath "mp4:assets/CH4_08_02_900_49236001001002_003.mp4?auth=da_aPaRazbbbocscFdnd1adbrbGcpaKawc1-bp575z-eS-exP-pRkenbsTkcmfnVnRrSmUpTp9l7m8lQnQpTk6n7sWkhmhnSnSqclbpRqQlbm6kdm8p8k7ocrclXn1nXnf&aifp=v002&slist=assets/CH4_08_02_900_49236001001002_003.mp4" -o "C:\hughs-fish-fight.s01e01.flv"
11:26:54 T:27024 NOTICE: Traceback (most recent call last):
11:26:54 T:27024 NOTICE: File "C:\Users\gaetano\AppData\Roaming\XBMC\addons\plugin.video.4od\default.py", line 1082, in <module>
11:26:54 T:27024 NOTICE: PlayOrDownloadEpisode( showId, episodeId, title, mycgi.Param('fn'), swfPlayer )
11:26:54 T:27024 NOTICE: File "C:\Users\gaetano\AppData\Roaming\XBMC\addons\plugin.video.4od\default.py", line 967, in PlayOrDownloadEpisode
11:26:54 T:27024 NOTICE: Download(rtmp, defaultFilename)
11:26:54 T:27024 NOTICE: File "C:\Users\gaetano\AppData\Roaming\XBMC\addons\plugin.video.4od\default.py", line 815, in Download
11:26:54 T:27024 NOTICE: p = Popen( parameters, executable=rtmpdumpPath, shell=True, stdout=PIPE, stderr=PIPE )
11:26:54 T:27024 NOTICE: File "C:\Program Files\XBMC\system\python\Lib\subprocess.py", line 623, in __init__
11:26:54 T:27024 NOTICE: errread, errwrite)
11:26:54 T:27024 NOTICE: File "C:\Program Files\XBMC\system\python\Lib\subprocess.py", line 833, in _execute_child
11:26:54 T:27024 NOTICE: startupinfo)
11:26:54 T:27024 NOTICE: WindowsError: [Error 193] %1 is not a valid Win32 application
11:26:54 T:27024 ERROR: Error Type: <type 'exceptions.WindowsError'>
11:26:54 T:27024 ERROR: Error Contents: [Error 193] %1 is not a valid Win32 application
11:26:54 T:27024 ERROR: Traceback (most recent call last):
File "C:\Users\gaetano\AppData\Roaming\XBMC\addons\plugin.video.4od\default.py", line 1082, in <module>
PlayOrDownloadEpisode( showId, episodeId, title, mycgi.Param('fn'), swfPlayer )
File "C:\Users\gaetano\AppData\Roaming\XBMC\addons\plugin.video.4od\default.py", line 967, in PlayOrDownloadEpisode
Download(rtmp, defaultFilename)
File "C:\Users\gaetano\AppData\Roaming\XBMC\addons\plugin.video.4od\default.py", line 815, in Download
p = Popen( parameters, executable=rtmpdumpPath, shell=True, stdout=PIPE, stderr=PIPE )
File "C:\Program Files\XBMC\system\python\Lib\subprocess.py", line 623, in __init__
errread, errwrite)
File "C:\Program Files\XBMC\system\python\Lib\subprocess.py", line 833, in _execute_child
startupinfo)
WindowsError: [Error 193] %1 is not a valid Win32 application



RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand - ringo - 2012-07-02

is this thread dead?


RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand - GGGav - 2012-07-05

I hope not.


RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand - dawson123 - 2012-07-06

No its not dead


40D Unable to find pattern in the string when selecting episodes - Telfar - 2012-07-07

Greetings,

Any help would be much appreciated in getting this plugin to work. Many thanks in advance.

Location US
Mac OS X 10.6.8
ATV2 5.0.1
XBMC Eden 11.0
Log
http://pastebin.com/yJt742Ft


RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand - ringo - 2012-07-09

I do hope the guy who made this plugin can help. ONly the streaming works. Not the downloading.


RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand - jeanwilly - 2012-07-09

Why you not look here http://forum.xbmc.org/showthread.php?tid=134118&page=3


Regards Jan (skatulskijean)


RE: [RELEASE] 4oD (Video) Addon - UK Channel 4 on demand - Telfar - 2012-07-11

Thanks you for the suggestion. Got script errors streaming shows with 1.0.5. Since I wan never able to get either 40D or Demand 5 to work, I am wondering if these plugins work in the US. Too bad, I would have loved to watch some of these shows.