• 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 17
[RELEASE] TED Talks (Video) Plugin
#61
I cant repro it either, http://www.ted.com/talks/list/page/ works fine here as well
Reply
#62
I've noticed the problem is with a few different Internet scripts e.g. YouTube, Giant Bomb. Must be a network setting?
I turned off my firewall but that didn't help. I am using Windows 7.

EDIT: Found out what was wrong, I had a HTTP proxy enabled in settings. Thanks for the response. Look forward to playing around with XBMC some more.

BTW, is there any point installing SVN Repo considering the Dharma Beta RC 2 comes with its own repo?
Reply
#63
Concerning the audio issue. I'm facing the same problem that I don't get sound for the TED plugin videos. Actually I think the assumption that it is related to the MOno sound could be true. I don't have a solution but at least a workaround:
I had the issue with an 5.1 sound setting. After changing to 2.0 in XBMC I get sound again.
Reply
#64
Any way to get this working in the latest ATV2 builds?
I can't get it to install at all (either the SVN repo or from putting it altogether from trunk: http://xbmc-addons.googlecode.com/svn/tr...D%20Talks/)
--
XBMC HUB - THE NEW HOME FOR ADD-ONS and PLUGINS
Read how my ATV2 installation went
ATV2 one week on ... it's getting better all the time
XBMC/ATV2 - Feeling the love
--
XBMC:
Platform - Darwin iOS (11.0.0 AppleTV2,1, Version 4.3 (Build 8F305)).
11.0-RC2 - Built on Mar 1 2012 (Git:20120229-f38655f)
Platform - Darwin OSX (8.8.2 i386, Version 10.4.7 (Build 8N6014)).
11.0-RC2 - Built on Mar 1 2012 (Git:20120229-f38655f)
Reply
#65
jabba_29 Wrote:Any way to get this working in the latest ATV2 builds?
I can't get it to install at all (either the SVN repo or from putting it altogether from trunk: http://xbmc-addons.googlecode.com/svn/tr...D%20Talks/)

http://mirrors.xbmc.org/addons/dharma-pr...ted.talks/

use zip file from there and manually install
Reply
#66
Perfect. Thanks Amet. Works great too!!
--
XBMC HUB - THE NEW HOME FOR ADD-ONS and PLUGINS
Read how my ATV2 installation went
ATV2 one week on ... it's getting better all the time
XBMC/ATV2 - Feeling the love
--
XBMC:
Platform - Darwin iOS (11.0.0 AppleTV2,1, Version 4.3 (Build 8F305)).
11.0-RC2 - Built on Mar 1 2012 (Git:20120229-f38655f)
Platform - Darwin OSX (8.8.2 i386, Version 10.4.7 (Build 8N6014)).
11.0-RC2 - Built on Mar 1 2012 (Git:20120229-f38655f)
Reply
#67
I was wondering if there was any reason why this plugin is unavailable from the official plugin repository now.

FYI, I am using eden-pre build.
Reply
#68
Is this plugin broken?

Listing talks works fine, but recently I've been unable to play streams. A full log is here, I've pasted the relevant lines below.

Code:
23:59:30 T:3001523056 M:1300283392  NOTICE: [PLUGIN] 'TED Talks: version 2.1.5' initialized!
23:59:32 T:3001523056 M:1300160512  NOTICE: [TED Talks] resources.lib.util attempting to open http://www.ted.com/talks/paul_bloom_the_origins_of_pleasure.html
23:59:39 T:3078662016 M:1298632704  NOTICE: DVDPlayer: Opening: http://www.ted.com/talks/paul_bloom_the_origins_of_pleasure.html
23:59:39 T:3078662016 M:1298632704 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
23:59:39 T:2857143152 M:1298632704  NOTICE: Creating InputStream
23:59:40 T:2857143152 M:1298624512  NOTICE: Creating Demuxer
23:59:41 T:2857143152 M:1294307328   ERROR: Open - error probing input format, http://www.ted.com/talks/paul_bloom_the_origins_of_pleasure.html
23:59:41 T:2857143152 M:1294307328   ERROR: OpenDemuxStream - Error creating demuxer
23:59:41 T:2857143152 M:1294307328  NOTICE: CDVDPlayer::OnExit()
23:59:41 T:2857143152 M:1294307328  NOTICE: CDVDPlayer::OnExit() deleting input stream
23:59:41 T:3078662016 M:1294307328   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.ted.talks/?url=http%3A%2F%2Fwww.ted.com%2Ftalks%2Fpaul_bloom_the_origins_of_pleasure.html&mode=playVideo&name=Paul+Bloom%3A+The+origins+of+pleasure&icon=http%3A%2F%2Fimages.ted.com%2Fimages%2Fted%2Fab86a82431639992733b1a12b81e94d830d2173a_389x292.jpg]
23:59:41 T:3078662016 M:1294307328  NOTICE: CDVDPlayer::CloseFile()
23:59:41 T:3078662016 M:1294307328 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
23:59:41 T:3078662016 M:1294307328  NOTICE: DVDPlayer: waiting for threads to exit
23:59:41 T:3078662016 M:1294307328  NOTICE: DVDPlayer: finished waiting
Reply
#69
Mr. Orange Wrote:Is this plugin broken?

Listing talks works fine, but recently I've been unable to play streams. A full log is here, I've pasted the relevant lines below.
It seems like they have changed the download url string that the plugin uses to download the correct file and play it.
Here you have the diff on what I changed to make it work (and updated the version strings):
Code:
diff -Naur plugin.video.ted.talks_old/addon.xml plugin.video.ted.talks/addon.xml
--- plugin.video.ted.talks_old/addon.xml    2011-07-30 16:10:03.000000000 +0200
+++ plugin.video.ted.talks/addon.xml    2011-07-30 17:18:21.926688501 +0200
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.ted.talks"
        name="TED Talks"
-       version="2.2.1"
+       version="2.2.2"
        provider-name="rwparris2">
   <requires>
     <import addon="xbmc.python" version="1.0"/>
diff -Naur plugin.video.ted.talks_old/changelog.txt plugin.video.ted.talks/changelog.txt
--- plugin.video.ted.talks_old/changelog.txt    2011-07-30 16:10:03.000000000 +0200
+++ plugin.video.ted.talks/changelog.txt    2011-07-30 17:18:21.926688501 +0200
@@ -1,3 +1,8 @@
+[b]Version 2.2.2[/b]
+
+- fixed: download link names (reqexp strings) changed
+- updated version number to the current one
+
[b]Version 2.2.1[/b]

- fixed: thumbs size changed
@@ -10,4 +15,4 @@

[b]Version 2.1.9[/b]

-- Updated Icon
\ Ingen nyrad vid filslut
+- Updated Icon
diff -Naur plugin.video.ted.talks_old/default.py plugin.video.ted.talks/default.py
--- plugin.video.ted.talks_old/default.py    2011-07-30 16:10:03.000000000 +0200
+++ plugin.video.ted.talks/default.py    2011-07-30 17:18:22.076686615 +0200
@@ -9,7 +9,7 @@
__author__ = "rwparris2"
__url__ = "http://code.google.com/p/xbmc-addons/"
__svn_url__ = "http://xbmc-addons.googlecode.com/svn/trunk/plugins/video/TED%20Talks"
-__version__ = "2.1.5"
+__version__ = "2.2.2"

print "[PLUGIN] '%s: version %s' initialized!" % (__plugin__, __version__)

diff -Naur plugin.video.ted.talks_old/resources/lib/ted_talks_scraper.py plugin.video.ted.talks/resources/lib/ted_talks_scraper.py
--- plugin.video.ted.talks_old/resources/lib/ted_talks_scraper.py    2011-07-30 16:10:03.000000000 +0200
+++ plugin.video.ted.talks/resources/lib/ted_talks_scraper.py    2011-07-30 17:18:22.496681335 +0200
@@ -50,8 +50,8 @@
         plot = soup.find('p', attrs={'id':'tagline'}).string
         #get url
         for link in soup.findAll('a'):
-            if re.match('Watch.*high-res' , str(link.string)):
-                url = URLTED+link['href']
+            if re.match('High-res video \(MP4\)' , str(link.string)):
+                url = link['href']
         #get id from url
         id = url.split('/')[-1]
         return {'Title':title, 'Director':speaker, 'Genre':'TED', 'Plot':plot, 'PlotOutline':plot, 'id':id, 'url':url}

And here is the patched version if you don't want to apply the patch:
http://www.mediafire.com/?cbj1jqgcrjz9te6
Reply
#70
Changed the 2 lines of code in ted_talks_scraper.py. Tested. Did happy dance.

Many thanks zedDB, I owe you a beer

Did you submit your patch to be included in the next version of the plugin?
Reply
#71
Mr. Orange Wrote:Did you submit your patch to be included in the next version of the plugin?
I did not do that as I don't really know where and how to do it... Tongue
I'm quite new to xbmc and it's development community so if you know whom to ask or help me out otherwise just let me know Smile
Reply
#72
zedDB Wrote:I did not do that as I don't really know where and how to do it... Tongue
I'm quite new to xbmc and it's development community so if you know whom to ask or help me out otherwise just let me know Smile

I think the best way is to PM the plugin author rwparris2. Or, if you have a Git repository, submit a pull request (more info here).

Thanks again for the fix.
Reply
#73
updated in repo, thanks
Reply
#74
Mr. Orange Wrote:Thanks again for the fix.
Np np ^^

spiff Wrote:updated in repo, thanks
Thank you for getting this commited! Smile
Reply
#75
I made a added a new list of tags and then related videos to the same TED talks plugin. Wondering how do I share the code? I can't create patch since I don't know the latest svn repo path. The one on google-code seems last updated in 2009.

so, suggest how can i share my code/patch
Reply
  • 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 17

Logout Mark Read Team Forum Stats Members Help
[RELEASE] TED Talks (Video) Plugin5