Page 1 of 1

TED.com (Web Resource)

PostPosted: Wed Apr 04, 2012 3:12 pm
by qanatoz
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.

Re: TED.com (Web Resource)

PostPosted: Sun Aug 05, 2012 3:01 pm
by venkatpartha
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 ]====================

Re: TED.com (Web Resource)

PostPosted: Sun Sep 09, 2012 1:51 pm
by ttguy
Yes. This plugin is broken. I am seeing if I can fix it.

Re: TED.com (Web Resource)

PostPosted: Wed Sep 26, 2012 1:02 am
by qanatoz
The plugin is fixed.

Re: TED.com (Web Resource)

PostPosted: Tue Oct 02, 2012 7:00 am
by ttguy
qanatoz wrote:The plugin is fixed.

Awesome. Cool idea about the playlist functionality

Re: TED.com (Web Resource)

PostPosted: Sat Oct 06, 2012 3:31 pm
by venkatpartha
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 ]===============

Re: TED.com (Web Resource)

PostPosted: Sun Oct 07, 2012 1:06 pm
by qanatoz
Hi Venkat,

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

Re: TED.com (Web Resource)

PostPosted: Sun Oct 21, 2012 3:26 am
by venkatpartha
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

Re: TED.com (Web Resource)

PostPosted: Sun Jan 20, 2013 10:10 pm
by qanatoz
The plugin updated


Changes for version 2.1:

  • Fixed bug with media extraction

Re: TED.com (Web Resource)

PostPosted: Mon Jan 21, 2013 12:22 am
by Xmantium
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

Re: TED.com (Web Resource)

PostPosted: Mon Jan 21, 2013 11:00 pm
by qanatoz
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?

Re: TED.com (Web Resource)

PostPosted: Tue Jan 22, 2013 12:27 am
by Xmantium
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.

Re: TED.com (Web Resource)

PostPosted: Tue Jul 02, 2013 1:56 pm
by nicksson
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?

Re: TED.com (Web Resource)

PostPosted: Sat Jul 06, 2013 8:52 am
by qanatoz
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.

Re: TED.com (Web Resource)

PostPosted: Fri Apr 17, 2015 7:04 am
by Namelles_One
Sorry, don't working now(

Re: TED.com (Web Resource)

PostPosted: Sun Apr 19, 2015 10:02 am
by turquoisesky
I'm waiting for the subtitles :/

Re: TED.com (Web Resource)

PostPosted: Mon May 11, 2015 7:34 am
by freshmelon
Anything changed in this case?

Re: TED.com (Web Resource)

PostPosted: Sat May 30, 2015 8:48 am
by shine789
Still no subtitles :/

Re: TED.com (Web Resource)

PostPosted: Mon Jun 01, 2015 4:44 pm
by king990
Maybe I can make them :)