FAQ  •  Register  •  Login

TED.com (Web Resource)

<<

qanatoz

User avatar

Serviio lover

Posts: 64

Joined: Sun Feb 19, 2012 8:33 pm

Post Wed Apr 04, 2012 3:12 pm

TED.com (Web Resource)

Image

TED.com Web Resource plugin

Source type: Web Resource
Media type: Video
Version: 2.1

Plugin allows to watch custom talks from Ted.com


Release Notes for version 2.0:

  • Fixed fetching talk URL error
  • Added playlist support
  • Added original thumbnail and release date for each talk



Changes for version 2.1:

  • Fixed bug with media extraction


URL example:

Playlist :
To create talks playlist just connect all URLs inline using “;” and set them as "Source URL"

Playlist example:

*Note: The URLs must be configured as a Web Resource.
Attachments
TED.groovy
TED.com Web Resource plugin v2.1
(4.58 KiB) Downloaded 881 times
Last edited by qanatoz on Sun Jan 20, 2013 10:09 pm, edited 2 times in total.
<<

venkatpartha

Serviio newbie

Posts: 8

Joined: Thu Aug 02, 2012 12:01 pm

Post Sun Aug 05, 2012 3:01 pm

Re: TED.com (Web Resource)

Hello,

I get the following message when I try out this plug-in with this URL http://www.ted.com/talks/taylor_wilson_ ... actor.html or this URL http://www.ted.com/talks/malte_spitz_yo ... ching.html

================[ Error ]==================
2012-08-05 20:30:55,395 DEBUG [OnlineRepositoryDAOImpl] Reading all OnlineRepositories
2012-08-05 20:30:55,396 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 1)
2012-08-05 20:30:55,399 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 2)
2012-08-05 20:30:55,399 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 4)
2012-08-05 20:30:57,560 WARN [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.io.IOException: Unexpected error while invoking plugin (TED): index is out of range 0..-1 (index = 0)
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.IndexOutOfBoundsException: index is out of range 0..-1 (index = 0)
at org.codehaus.groovy.runtime.DefaultGroovyMethods.getAt(DefaultGroovyMethods.java:6202)
at org.codehaus.groovy.runtime.dgm$310.invoke(Unknown Source)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at TED.extractItems(TED.groovy:26)
at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:32)
at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:29)
at org.serviio.library.online.PluginExecutionProcessor$1.call(PluginExecutionProcessor.java:50)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
====================[ End of Error ]====================
<<

ttguy

Serviio lover

Posts: 63

Joined: Sun May 27, 2012 10:52 am

Post Sun Sep 09, 2012 1:51 pm

Re: TED.com (Web Resource)

Yes. This plugin is broken. I am seeing if I can fix it.
--
linux/Humax HDR-3000T
<<

qanatoz

User avatar

Serviio lover

Posts: 64

Joined: Sun Feb 19, 2012 8:33 pm

Post Wed Sep 26, 2012 1:02 am

Re: TED.com (Web Resource)

The plugin is fixed.
<<

ttguy

Serviio lover

Posts: 63

Joined: Sun May 27, 2012 10:52 am

Post Tue Oct 02, 2012 7:00 am

Re: TED.com (Web Resource)

qanatoz wrote:The plugin is fixed.

Awesome. Cool idea about the playlist functionality
--
linux/Humax HDR-3000T
<<

venkatpartha

Serviio newbie

Posts: 8

Joined: Thu Aug 02, 2012 12:01 pm

Post Sat Oct 06, 2012 3:31 pm

Re: TED.com (Web Resource)

Hello qanatoz,

Thank you for your update to the TED plugin.

However, I still get the same index out of bounds error when I use this plugin. I am at present using Serviio 1.0. Is this an issue. I will try after upgrading to 1.0.1.

Thanks and regards,
Venkat.
==================[ Error ]======================
2012-10-06 20:55:19,434 WARN [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.io.IOException: Unexpected error while invoking plugin (TED): index is out of range 0..-1 (index = 0)
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.IndexOutOfBoundsException: index is out of range 0..-1 (index = 0)
at org.codehaus.groovy.runtime.DefaultGroovyMethods.getAt(DefaultGroovyMethods.java:6202)
at org.codehaus.groovy.runtime.dgm$310.invoke(Unknown Source)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at TED.extractItems(TED.groovy:26)
at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:32)
at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:29)
at org.serviio.library.online.PluginExecutionProcessor$1.call(PluginExecutionProcessor.java:50)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
2012-10-06 20:56:23,043 WARN [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.io.IOException: Unexpected error while invoking plugin (TED): index is out of range 0..-1 (index = 0)
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.IndexOutOfBoundsException: index is out of range 0..-1 (index = 0)
at org.codehaus.groovy.runtime.DefaultGroovyMethods.getAt(DefaultGroovyMethods.java:6202)
at org.codehaus.groovy.runtime.dgm$310.invoke(Unknown Source)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at TED.extractItems(TED.groovy:26)
at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:32)
at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:29)
at org.serviio.library.online.PluginExecutionProcessor$1.call(PluginExecutionProcessor.java:50)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
====================[ End of Error ]===============
<<

qanatoz

User avatar

Serviio lover

Posts: 64

Joined: Sun Feb 19, 2012 8:33 pm

Post Sun Oct 07, 2012 1:06 pm

Re: TED.com (Web Resource)

Hi Venkat,

Can you please share links you are trying to load and you system details (Platform, OS and etc.)?
<<

venkatpartha

Serviio newbie

Posts: 8

Joined: Thu Aug 02, 2012 12:01 pm

Post Sun Oct 21, 2012 3:26 am

Re: TED.com (Web Resource)

Hi qanatoz,

Thank you for your efforts. Your plugin works.

My Serviio details:

Serviio version - 1.0.1
OS - Linux Mint 13 - Cinnamon
Device - Panasonic Viera - P42X30D
Profile - Panasonic Viera With AVI Support

I am now able to see the TED folder with the following videos listed:
1. http://www.ted.com/talks/benjamin_zande ... ssion.html
2. http://www.ted.com/talks/robert_gupta_b ... icine.html

I now face a task of debugging a ffmpeg/avconv issue where mp4 files are not being transcoded.

Regards,
Venkat
<<

qanatoz

User avatar

Serviio lover

Posts: 64

Joined: Sun Feb 19, 2012 8:33 pm

Post Sun Jan 20, 2013 10:10 pm

Re: TED.com (Web Resource)

The plugin updated


Changes for version 2.1:

  • Fixed bug with media extraction
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Mon Jan 21, 2013 12:22 am

Re: TED.com (Web Resource)

Hi qanatoz, thanks for the update. Will you be updating the plugins with Plugin versioning?
This way users can check if theres a new plugin update with current 3rd party apps

I read something today that ffmpeg are doing something cool with TED.com - http://ffmpeg.org/ffmpeg-formats.html#tedcaptions
- JSON captions for TED talks decoding support

TED provides video downloads for their talks. Not all of these are available with subtitles and when they are the subtitles are burnt into the video. Now with this new FFmpeg feature you can download the subtitle files and just display them on the fly when playing the video with ffplay:

ffplay ted.mp4 -vf subtitles=ted.json

Think this will fully work with Serviio 1.2 which has subtitles support
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
<<

qanatoz

User avatar

Serviio lover

Posts: 64

Joined: Sun Feb 19, 2012 8:33 pm

Post Mon Jan 21, 2013 11:00 pm

Re: TED.com (Web Resource)

Hi Xmantium,
Will you be updating the plugins with Plugin versioning?

Yes I will update plugins with this functionality. The getVersion() method come with 1.1 API and I missed it somehow.

Think this will fully work with Serviio 1.2 which has subtitles support

This is really interesting thing. Did subtitles support also planned at API level?
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Tue Jan 22, 2013 12:27 am

Re: TED.com (Web Resource)

I'm not entire sure but zip should answer how subtitles will work with upcoming Serviio... All I know it's gonna be awesome!! :)

Definately think a conference website like this, subtitles will be important for few.
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
<<

nicksson

Serviio newbie

Posts: 3

Joined: Mon Feb 18, 2013 3:06 pm

Post Tue Jul 02, 2013 1:56 pm

Re: TED.com (Web Resource)

Xmantium wrote: ... Definately think a conference website like this, subtitles will be important for few.

I tried this plugin and yes, it is good and working, but yet no subtitles.
qanatoz, can we have TED subtitles somehow, even "burned" into video?
<<

qanatoz

User avatar

Serviio lover

Posts: 64

Joined: Sun Feb 19, 2012 8:33 pm

Post Sat Jul 06, 2013 8:52 am

Re: TED.com (Web Resource)

qanatoz, can we have TED subtitles somehow, even "burned" into video?


@nicksson,

Subtitles not supported on level of Serviio plugins API. Once this feature will be added to plugins API I"ll add subtitles support for this plugin.
<<

Namelles_One

Serviio newbie

Posts: 1

Joined: Fri Apr 17, 2015 7:03 am

Post Fri Apr 17, 2015 7:04 am

Re: TED.com (Web Resource)

Sorry, don't working now(
<<

turquoisesky

Serviio newbie

Posts: 3

Joined: Sat Apr 18, 2015 8:34 am

Post Sun Apr 19, 2015 10:02 am

Re: TED.com (Web Resource)

I'm waiting for the subtitles :/
<<

freshmelon

Serviio newbie

Posts: 3

Joined: Sat Apr 18, 2015 7:54 am

Post Mon May 11, 2015 7:34 am

Re: TED.com (Web Resource)

Anything changed in this case?
<<

shine789

Serviio newbie

Posts: 3

Joined: Thu May 14, 2015 8:21 am

Post Sat May 30, 2015 8:48 am

Re: TED.com (Web Resource)

Still no subtitles :/
<<

king990

Serviio newbie

Posts: 3

Joined: Thu May 14, 2015 8:32 am

Post Mon Jun 01, 2015 4:44 pm

Re: TED.com (Web Resource)

Maybe I can make them :)

Return to Available plugins

Who is online

Users browsing this forum: Baidu [Spider] and 2 guests

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