2010-12-05, 17:28
I cant repro it either, http://www.ted.com/talks/list/page/ works fine here as well
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/)
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
Mr. Orange Wrote:Is this plugin broken?It seems like they have changed the download url string that the plugin uses to download the correct file and play it.
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.
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}
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...
zedDB Wrote:I did not do that as I don't really know where and how to do it...
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
Mr. Orange Wrote:Thanks again for the fix.Np np ^^
spiff Wrote:updated in repo, thanksThank you for getting this commited!