[RELEASE] TED Talks (Video) Plugin

  Thread Rating:
  • 5 Votes - 3.2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Martijn Online
Team-XBMC
Posts: 7,676
Joined: Jul 2011
Reputation: 114
Location: Dawn of time
Post: #121
Thx Smile

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first


For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
Martijn Online
Team-XBMC
Posts: 7,676
Joined: Jul 2011
Reputation: 114
Location: Dawn of time
Post: #122
Still getting errors in the updated version Smile

http://xbmclogs.com/show.php?id=12986

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first


For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
moreginger Offline
Junior Member
Posts: 26
Joined: Oct 2011
Reputation: 1
Post: #123
(2013-04-20 00:31)Martijn Wrote:  Still getting errors in the updated version Smile

http://xbmclogs.com/show.php?id=12986
That's weird.
As far as I can guess the plugin is failing to guess the ISO code for your XBMC language (BTW if anyone knows how to make XMBC just tell me the code I'd be grateful). Then it would send a list of [None] to the subtitles method and that blows up. I'll open an issue for that, but I don't see how it can be a regression?

More intriguingly... what language is your XBMC using (xbmc.getLanguage())?

You should be able to get around it by either disabling subtitles or setting a custom code in the preferences.
find quote
Martijn Online
Team-XBMC
Posts: 7,676
Joined: Jul 2011
Reputation: 114
Location: Dawn of time
Post: #124
xbmc_language = xbmc.getLanguage() returns Dutch
so it fails in the get_language_code part

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first


For your mediacenter artwork go to
[Image: fanarttv.png]
(This post was last modified: 2013-04-20 21:25 by Martijn.)
find quote
moreginger Offline
Junior Member
Posts: 26
Joined: Oct 2011
Reputation: 1
Post: #125
(2013-04-20 21:16)Martijn Wrote:  xbmc_language = xbmc.getLanguage() returns Dutch
so it fails in the get_language_code part
Thanks!
Amusingly this happens because 'Dutch' isn't a language in http://www.loc.gov/standards/iso639-2/IS..._utf-8.txt Smile Apparently the full name is 'Dutch; Flemish'. There is an obvious hack that ought to improve things, but (as you know) I started http://forum.xbmc.org/showthread.php?tid=163023 to ask for a better way to look up codes.
find quote
Martijn Online
Team-XBMC
Posts: 7,676
Joined: Jul 2011
Reputation: 114
Location: Dawn of time
Post: #126
(2013-04-22 14:33)moreginger Wrote:  
(2013-04-20 21:16)Martijn Wrote:  xbmc_language = xbmc.getLanguage() returns Dutch
so it fails in the get_language_code part
Thanks!
Amusingly this happens because 'Dutch' isn't a language in http://www.loc.gov/standards/iso639-2/IS..._utf-8.txt Smile Apparently the full name is 'Dutch; Flemish'. There is an obvious hack that ought to improve things, but (as you know) I started http://forum.xbmc.org/showthread.php?tid=163023 to ask for a better way to look up codes.

Dutch is a language on itself. However you have Flemish which is Dutch variant spoken in Belgium.

This is what XBMC uses
http://wiki.xbmc.org/index.php?title=Lis...39:1988%29

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first


For your mediacenter artwork go to
[Image: fanarttv.png]
(This post was last modified: 2013-04-22 15:11 by Martijn.)
find quote
moreginger Offline
Junior Member
Posts: 26
Joined: Oct 2011
Reputation: 1
Post: #127
(2013-04-22 15:06)Martijn Wrote:  Dutch is a language on itself. However you have Flemish which is Dutch variant spoken in Belgium.
Ah, I should have realised that ';' is a list separator in that file. I can parse it properly now Smile

(2013-04-22 15:06)Martijn Wrote:  This is what XBMC uses
http://wiki.xbmc.org/index.php?title=Lis...39:1988%29
Ah yes, I was't sure if that was canonical. And you'd need to update the mapping if new translations were added.

I meant to ask for a better mechanism for a while but just didn't get around to it. Good news that it is happening now.
find quote
Martijn Online
Team-XBMC
Posts: 7,676
Joined: Jul 2011
Reputation: 114
Location: Dawn of time
Post: #128
Any chance for also adding browsing by tags besides themes?

Also noticed not all the information is filled in for the videos but could be you can't really get that info all the time.
find quote
moreginger Offline
Junior Member
Posts: 26
Joined: Oct 2011
Reputation: 1
Post: #129
(2013-04-30 23:45)Martijn Wrote:  Any chance for also adding browsing by tags besides themes?
Definitely worth looking into:
https://github.com/moreginger/xbmc-plugi.../issues/13

(2013-04-30 23:45)Martijn Wrote:  Also noticed not all the information is filled in for the videos but could be you can't really get that info all the time.
It's worth reviewing what can be made available, but as you say there are some limitations.
find quote
Post Reply