• 1
  • 2
  • 3
  • 4(current)
  • 5
  • 6
  • 17
[RELEASE] TED Talks (Video) Plugin
#46
Question 
Running dharma beta2 - shadow skin.
I've set a permanent download location.
Set a username and password.
But i don't have the download option.
I've searched for a hwo to download but didn't find it.
I'm guessing it's something so trivial that i'm missing ?

Please assist.

BTW, there is a script to downloads the subtitles if it can be merged into this plugin it will be great.
http://fci-h.blogspot.com/2010/05/python...talks.html
Reply
#47
@Zarquon:
I had the same problem on my ASROCK ION 330HT with xbmc live, your solution works fine, thank you for helping out. I do have a suggestion for improvement, if you change the check for current render method from
Zarquon Wrote:if iCurrentRenderMethod == 4:

into:

if iCurrentRenderMethod != 3:

Then it will work for any setting.

Complete Zarquon code with my change:
Code:
    # Set render method for TED to software
            # Get current RendorMethod
            iCurrentRenderMethod = int(xbmc.executehttpapi("GetGUISetting(0;VideoPlayer.RenderMethod)").replace("<li>",""))

        # If RenderMethod is not 3 (Any render method other then software) set it to 3 (RENDER_METHOD_SOFTWARE).  See http://trac.xbmc.org/browser/trunk/xbmc/GUISettings.h for other values.
        if iCurrentRenderMethod != 3:
        xbmc.executehttpapi("SetGUISetting(0;VideoPlayer.RenderMethod;3)")

        UI().playVideo()
            
        #Pause long enough for mplayer to start
        import time
        time.sleep(5)
            
        # Set back to the current RendorMethod
        xbmc.executehttpapi("SetGUISetting(0;VideoPlayer.RenderMethod,%d)" % ( iCurrentRenderMethod, ))


@transcender:
My guess is that the player only checks the render setting when starting the stream so thats why you can set it back immediately and do not have to wait to finish playing. Anyway, Zarquons solution works fine.
Reply
#48
I download with ted.com by means of service takeyoutube.com
Reply
#49
Wink 
I modified 2.2.0 version to show subtitle.
So, I changed the following things:
  • Subtitle & Language selection in Settings
  • Subtitle in JSON to SRT converter, borrowed from the blog mentioned above
  • Enable subtitle with calling setSubtitle function
  • Trick to make cookie survive even after language selection at the first page

There are two known bugs
The first one is that no subtitle is shown in some talks.
It may come from XBMC bugs with setResolvedUrl.
http://forum.xbmc.org/showthread.php?tid=79862

The second is that popup is shown with 'Playback failed' message even while video is correctly played. I don't know its reason now.

You can download my code from
http://xbmc-korean.googlecode.com/files/....talks.zip
Reply
#50
vago Wrote:Running dharma beta2 - shadow skin.
I've set a permanent download location.
Set a username and password.
But i don't have the download option.
I've searched for a hwo to download but didn't find it.
I'm guessing it's something so trivial that i'm missing ?

I'm experiencing the same thing on Dharma 3 (svn34731-lucid1) with Alaska (1.1.9) and Confluence (1.1.0).

It's not just the TED Talks plugin. It appears that the context menu is broken for me on all plugins (but not on core stuff).

I thought it was because the first entry (Queue) didn't have an associated message from the bundle but that's not the case. I also tried changing the actions to XBMC.RunPlugin as that seems to be what the other (non-working) plugins use. Neither of these changes worked for me.

There's no context menu anymore on the youtube plugin either.

Not sure how to handle this.
Reply
#51
My Ted plugin installed like a charm but when I play the video is small and located at the top left corner and is about 20% screen size on the 1080P screen.

My Config:
AMD64/WIN7/4GB/1.5TB(980GB FREE)/XBMC Beta3/Transparency 3.x
Built on Oct 15, 2010
Only plug ins installed are TED and Weather.

Pls help & Advice.
Reply
#52
crazytony Wrote:There's no context menu anymore on the youtube plugin either.

Not sure how to handle this.

Found out that there was a change in the Lircmap.xml for my remote. Found it after another button problem caused me to look at the mappings.

It seems to be working for me. Yay!
Reply
#53
So, the all videos work perfectly for me except for the ted talks videos - the video itself plays fine, but there is no audio. Strangely, many of the ted talks videos don't work on the youtube plugin either. As an example, the ted talks video "Christien Meindertsma: How pig parts make the world turn" has this problem on both the ted talks and youtube plugins. Anybody have any ideas why that might be?
Reply
#54
timdog82001 Wrote:So, the all videos work perfectly for me except for the ted talks videos - the video itself plays fine, but there is no audio. Strangely, many of the ted talks videos don't work on the youtube plugin either. As an example, the ted talks video "Christien Meindertsma: How pig parts make the world turn" has this problem on both the ted talks and youtube plugins. Anybody have any ideas why that might be?

I discovered this too. I'm pretty sure it's because the audio is mono. Apparently this is really difficult to handle in the XBMC core across platforms. There are some system-specific posts about this here and there, but I haven't been able to make it work personally....
Reply
#55
Rad_ Wrote:I discovered this too. I'm pretty sure it's because the audio is mono. Apparently this is really difficult to handle in the XBMC core across platforms. There are some system-specific posts about this here and there, but I haven't been able to make it work personally....

Where have you found those system specific posts? Within this thread, or somewhere else in the forums here? I did some searches yesterday, but didn't come up with anything useful.
Reply
#56
timdog82001 Wrote:Where have you found those system specific posts? Within this thread, or somewhere else in the forums here? I did some searches yesterday, but didn't come up with anything useful.

I just searched "mono" in the linux forum and found a number of threads, some of which linked to other discussions in other threads. I can't say I dug very deep....

Did you go to the Ted page and download copies of the videos that are silent? That's how I came to believe it's a mono problem and nothing to do with the plugin. Play fine on my computer, but still silent when played from disk through XBMC.

Nothing in this thread led me to that conclusion--I just assumed you must have hit the same problem I did.
Reply
#57
Hi,

I've just made the move from Plex to XBMC (BETA RC2). I installed the TED plugin but the script keeps reporting an error and won't load.
I've attached a piece of what looks like the relevant section in my log file. Any ideas?

Thanks for the help.

Code:
22:04:22 T:4308 M:839385088 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 0
22:04:24 T:5928 M:837685248  NOTICE: -->Python Interpreter Initialized<--
22:04:24 T:5928 M:837681152  NOTICE: [PLUGIN] 'TED Talks: version 2.1.5' initialized!
22:04:25 T:4308 M:835088384 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 6
22:04:26 T:4308 M:835919872 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 0
22:07:45 T:4420 M:873852928 WARNING: Previous line repeats 1 times.
22:07:45 T:4420 M:873852928  NOTICE: -->Python Interpreter Initialized<--
22:07:45 T:4420 M:873848832  NOTICE: [PLUGIN] 'TED Talks: version 2.1.5' initialized!
22:07:46 T:4308 M:870510592 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 6
22:07:48 T:4704 M:871657472  NOTICE: -->Python Interpreter Initialized<--
22:07:48 T:4704 M:871653376  NOTICE: [PLUGIN] 'TED Talks: version 2.1.5' initialized!
22:07:52 T:4384 M:871538688   ERROR: WebServer: Failed to open C:\Program Files (x86)\XBMC\addons\webinterface.default\http:\\www.ted.com\users\signin\
22:07:52 T:4704 M:871526400   ERROR: Error Type: urllib2.HTTPError
22:07:52 T:4704 M:871526400   ERROR: Error Contents: HTTP Error 404: Not Found
22:07:52 T:4704 M:871452672   ERROR: Traceback (most recent call last):
                                              File "C:\Users\Brtuyan Collins\AppData\Roaming\XBMC\addons\plugin.video.ted.talks\default.py", line 27, in ?
                                                ted_talks.Main()
                                              File "C:\Users\Brtuyan Collins\AppData\Roaming\XBMC\addons\plugin.video.ted.talks\resources\lib\ted_talks.py", line 181, in __init__
                                                self.checkMode()
                                              File "C:\Users\Brtuyan Collins\AppData\Roaming\XBMC\addons\plugin.video.ted.talks\resources\lib\ted_talks.py", line 250, in checkMode
                                                UI().favorites()
                                              File "C:\Users\Brtuyan Collins\AppData\Roaming\XBMC\addons\plugin.video.ted.talks\resources\lib\ted_talks.py", line 166, in favorites
                                                if self.main.isValidUser():
                                              File "C:\Users\Brtuyan Collins\AppData\Roaming\XBMC\addons\plugin.video.ted.talks\resources\lib\ted_talks.py", line 201, in isValidUser
                                                self.user = TedTalks.User(self.settings['username'], self.settings['password'])
                                              File "C:\Users\Brtuyan Collins\AppData\Roaming\XBMC\addons\plugin.video.ted.talks\resources\lib\ted_talks_scraper.py", line 66, in __init__
                                                self.id, self.realName = self.getUserDetails()
                                              File "C:\Users\Brtuyan Collins\AppData\Roaming\XBMC\addons\plugin.video.ted.talks\resources\lib\ted_talks_scraper.py", line 71, in getUserDetails
                                                html = self.getLoginResponse()
                                              File "C:\Users\Brtuyan Collins\AppData\Roaming\XBMC\addons\plugin.video.ted.talks\resources\lib\ted_talks_scraper.py", line 84, in getLoginResponse
                                                response = getUrllib2ResponseObject(url)
                                              File "C:\Users\Brtuyan Collins\AppData\Roaming\XBMC\addons\plugin.video.ted.talks\resources\lib\util.py", line 42, in getUrllib2ResponseObject
                                                return urllib2.urlopen(url)
                                              File "special://xbmc/system/python/Lib\urllib2.py", line 130, in urlopen
                                                return _opener.open(url, data)
                                              File "special://xbmc/system/python/Lib\urllib2.py", line 364, in open
                                                response = meth(req, response)
                                              File "special://xbmc/system/python/Lib\urllib2.py", line 471, in http_response
                                                response = self.parent.error(
                                              File "special://xbmc/system/python/Lib\urllib2.py", line 402, in error
                                                return self._call_chain(*args)
                                              File "special://xbmc/system/python/Lib\urllib2.py", line 337, in _call_chain
                                                result = func(*args)
                                              File "special://xbmc/system/python/Lib\urllib2.py", line 480, in http_error_default
                                                raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
                                            HTTPError: HTTP Error 404: Not Found
Reply
#58
I can't reproduce the error. Can you turn on debug logging (Settings, System, Debugging) then try the add-on and post the whole xmbc.log (not an extract) on pastebin.com.

JR
Reply
#59
Hi,

Thanks for help. Tried it again. The debug Log here.
http://pastebin.com/ZnJHwdz7
Reply
#60
Well I can see the error. The add-on is trying to open http://www.ted.com/talks/list/page/ and getting a 404 error. However it works fine here. If you open Internet Explorer and paste http://www.ted.com/talks/list/page/ in as the address does IE open the page?

I suspect you're going to have to mail the author of the add-on. The details should be in the add-on info somewhere.

JR
Reply
  • 1
  • 2
  • 3
  • 4(current)
  • 5
  • 6
  • 17

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