FAQ  •  Register  •  Login

4OD (UK only) - Web Resource

<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Jan 29, 2013 8:27 am

Re: 4OD (UK only) - Web Resource

Xmantium wrote:It appears http://ps3.channel4.com/ doesnt use the new stream format, possible workaround for fix


I've the same problem with Pluzz plugin that use more and more hds manifest format.
But I found that the same channel are implemented for mobile in m3u8 format that ffmpeg support.
I don't know if hds manifest format could be convert to a m3u8 format in plugin source ?


EDIT: Do you think is it possible with groovy plugin to create an BufferedInputStream, download/buffered the f4m manifest segments and copy to on BufferedOutputStream with a local address "http://localhost/localstream.flv" that ffmpeg could transcode to the devices ?
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Tue Jan 29, 2013 4:59 pm

Re: 4OD (UK only) - Web Resource

Its a complete different site, so i think 4oD provides the standard stream for ps3 for its huge userbase, and HDS for the official website edition.
Looking at the rtmp urls its two different servers too even on the legacy videos on the 4oD site

Looks like its a matter of waiting for ffmpeg devs to provide a solution.
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Tue Feb 19, 2013 12:01 am

Re: 4OD (UK only) - Web Resource

@zip, seems like the xbmc 4oD pluging is using the xbox360/ps3 json to get the feeds, source code found here
Example
http://ps3.channel4.com/pmlsd/the-inbet ... atform=ps3
http://ps3.channel4.com/pmlsd/fresh-mea ... tform=xbox

I can easily update the links in serviidb with these json links
Would be great to have this plugin fully working again :)
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Feb 19, 2013 12:08 pm

Re: 4OD (UK only) - Web Resource

do you know if they have the same content on the ps3 player as on the web player?
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Tue Feb 19, 2013 6:56 pm

Re: 4OD (UK only) - Web Resource

zip wrote:do you know if they have the same content on the ps3 player as on the web player?

Forum states that
plugin uses Channel4's 4oD on PS3 which has a subset of the programmes available through the main 4oD site, e.g. there are 136 documentary and 55 drama programmes on 4oD on PS3 compared with 290 documentary and 115 drama programmes on 4oD

The Xbox 360/PS3 console apps are being used more and more so hoping there will be more content
This could be a separate 4oD plugin as this uses feeds rather than web resource
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

bigguy283

Serviio newbie

Posts: 8

Joined: Mon May 13, 2013 8:04 am

Post Mon May 13, 2013 8:11 am

Re: 4OD (UK only) - Web Resource

hi guys!
i have tried everything to get 4od channels to work on my lg smart tv,but all i get is "empty folders" .. the itv players channels work great,but no 4od ones,,can anyone help me out?
thanks
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Mon May 13, 2013 6:57 pm

Re: 4OD (UK only) - Web Resource

This plugin is mostly broken as 4oD uses new codecs to stream it's video content
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

Lincsguy

Serviio newbie

Posts: 15

Joined: Wed May 22, 2013 11:05 pm

Post Tue Jun 11, 2013 7:59 pm

Re: 4OD (UK only) - Web Resource

I have just watched Dates on Bravia via Serviio on 4od. I used XBMC to find the play path then entered it as a live stream. This was the stream link. and it is indeed using ps3...

rtmpe://ak.ps3-securestream.channel4.co ... 01_001.mp4 app=ondemand/?ovpfv=1.1&auth=da_a2bfdYbWarawbNcFbRdDc1cfaqb1ckb.-brT3Lf-4q-22h-j7sQqaldsakdnYtXm7pVp6mfjamRoUocjfraqamRtXlSmfs7mco5p7m8jclboRofjcscrVl9tYlUnXth&aifp=v002&slist=PS3/CH4_25_02_25_53967001001001_001.mp4 playpath=mp4:PS3/CH4_25_02_25_53967001001001_001.mp4?auth=da_a2bfdYbWarawbNcFbRdDc1cfaqb1ckb.-brT3Lf-4q-22h-j7sQqaldsakdnYtXm7pVp6mfjamRoUocjfraqamRtXlSmfs7mco5p7m8jclboRofjcscrVl9tYlUnXth&aifp=v002&slist=PS3/CH4_25_02_25_53967001001001_001.mp4 swfurl=http://ps3.channel4.com/swf/ps3player-9.0.124-1.27.2.swf swfvfy=true pageurl=http://www.channel4.com
<<

turls2201

Streaming enthusiast

Posts: 29

Joined: Fri Jun 07, 2013 2:31 pm

Post Thu Jun 13, 2013 8:47 pm

Re: 4OD (UK only) - Web Resource

I have created a work around plugin that I will upload tomorrow that uses the standard feeds but then looks at the ps3 feeds.

One issue I have though is that it timesout at 30 seconds - I know this is set in WebResourceUrlExtractor but can this be set anywhere else? If not can I have a new compiled version to test with say 500 seconds. Can this not be configured in the config xmls. The erro I get:

java.io.IOException: Unexpected error while invoking plugin (4OD (UK only)): The operation took more than 30000 ms and has been cancelled.
at org.serviio.library.online.WebResourceParser.parse(WebResourceParser.java:58)
at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:171)
at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:186)
at org.serviio.library.online.metadata.FeedUpdaterThread.getOnlineItems(FeedUpdaterThread.java:159)
at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:96)
Caused by: java.lang.RuntimeException: The operation took more than 30000 ms and has been cancelled.
at org.serviio.library.online.PluginExecutionProcessor.execute(PluginExecutionProcessor.java:64)
at org.serviio.library.online.WebResourceUrlExtractor.parseWebResource(WebResourceUrlExtractor.java:29)
at org.serviio.library.online.WebResourceParser.parse(WebResourceParser.java:56)
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jun 13, 2013 11:08 pm

Re: 4OD (UK only) - Web Resource

No, it's not configurable. Are you limiting number of items coming back from the feed as per the user's preference?
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Fri Jun 14, 2013 6:42 am

Re: 4OD (UK only) - Web Resource

turls2201 wrote:I have created a work around plugin that I will upload tomorrow that uses the standard feeds but then looks at the ps3 feeds.

Great news!! Are you using the XBMC (source here) through 4oD JSON workaround?
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

turls2201

Streaming enthusiast

Posts: 29

Joined: Fri Jun 07, 2013 2:31 pm

Post Fri Jun 14, 2013 2:41 pm

Re: 4OD (UK only) - Web Resource

No- was trying not to limit.

First of all I am not a developer and had never heard of groovy before this, though I have played with java and know pl/sql.

Here is the file. Am sure that a lot of what I have done could be done more elegantly by a proper developer who knows Json.

What I found was as follows:
1. Current 4od site not only does not use mp4 files any more but also the encoding is not base64.
2. As mentioned the ps3 site does,but has less content- eg no big bang theory.
3. All changes ( apart from some debug addition are in WebResourceContainer.
4. have added version and timeout control info.
5 So this is how it works
a. use the standard 4od web resource as source data, but then change it to look at the PS3 website that hold JSON data
b. using the data from the original 4od feed and then it checks the json to find the new asset id
c. Checks for invalid data - ie in 4od but nor ps3 ( I even found a bug in 4od file where episodes did not match episode id data!!!) and skips this data
d. If the data is valid it changes the assetID to the new Asset ID
e. Added some error management rather than handling


The actual extract uses the same code in ContentURLContainer

As said this can probably done more elegantly but it is working for me with standard feeds so I am happy :-)

Cheers Ian
Attachments
Channel4od.groovy
(27.24 KiB) Downloaded 382 times
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Jun 15, 2013 12:37 pm

Re: 4OD (UK only) - Web Resource

If someone can confirm this works I'll update the original post with this version.
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Sat Jun 15, 2013 4:49 pm

Re: 4OD (UK only) - Web Resource

Few tests using Serviio 1.3 beta, excellent progress to get this popular plugin on its feet!

Inbetweeners - Working
Come Dine With Me - Working
Big Fat Gypsy Wedding - Not Working -It is available http://ps3.channel4.com/pmlsd/big-fat-g ... atform=ps3
Grand Design - Working
Skint - Working

:D - Thankyou so much! Gonna put this on my QNAP so wife can enjoy this update!
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

turls2201

Streaming enthusiast

Posts: 29

Joined: Fri Jun 07, 2013 2:31 pm

Post Sun Jun 16, 2013 11:28 am

Re: 4OD (UK only) - Web Resource

Will debug Big Fat Gypsy Wedding and see what the issue is. One assumption I have made that may be wrong is that the ps3 content is a subset of the full 4oD site, but will check this out.

Ian
<<

turls2201

Streaming enthusiast

Posts: 29

Joined: Fri Jun 07, 2013 2:31 pm

Post Sun Jun 16, 2013 11:44 am

Re: 4OD (UK only) - Web Resource

Found the issue - it is related to another bug in the 4oD source file- the episode and series number are not present.

I will try and build a work around to handle this.

Cheers
<<

turls2201

Streaming enthusiast

Posts: 29

Joined: Fri Jun 07, 2013 2:31 pm

Post Sun Jun 16, 2013 6:53 pm

Re: 4OD (UK only) - Web Resource

New fixed version under testing . Will upload once I get some positive results.
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Sun Jun 16, 2013 9:15 pm

Re: 4OD (UK only) - Web Resource

Confirmed all working! :D
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

turls2201

Streaming enthusiast

Posts: 29

Joined: Fri Jun 07, 2013 2:31 pm

Post Tue Jun 18, 2013 7:48 pm

Re: 4OD (UK only) - Web Resource

Here is the latest version. Hope it works but post if you have any issues. Remember this uses feed on main 4OD site but the ps3 site does not contain all episodes. The web resource format should be like

http://www.channel4.com/programmes/the-inbetweeners/4od



I have also created an alternative groovy file that can be used directly with feeds from the PS3 four od site - The format for these web resources should be:
http://ps3.channel4.com/pmlsd/the-inbet ... atform=ps3

These can be present together as they are independent of each other - it is your choice on what feed to use. The groovy is attached called PS3Channel4od.groovy

Neither of these get round the issue of programmes like big bang theory that only appear on the main 4od site. Not sure how to solve that one....

Cheers and enjoy

Ian
Attachments
PS3Channel4od.groovy
PS3 4od web resources
(26.42 KiB) Downloaded 323 times
Channel4od.groovy
Standard 4od web resource
(27.68 KiB) Downloaded 328 times
<<

Lincsguy

Serviio newbie

Posts: 15

Joined: Wed May 22, 2013 11:05 pm

Post Tue Jun 18, 2013 9:22 pm

Re: 4OD (UK only) - Web Resource

Superb, thanks Ian.
PreviousNext

Return to Available plugins

Who is online

Users browsing this forum: No registered users and 17 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.