Sent from my iPhone

On Oct 11, 2010, at 7:56 PM, Anssi Hannula <[email protected]> wrote:

> On Sunday 10 October 2010 21:04:17 Zeljko Ametovic wrote:
>> http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=cb193a2dfec02ceaa0b1705cf47241032ff307a6
> [...]
>>    [script.xbmc.subtitles] -v1.9.7
>>    - added: new titulky.com service. Thanks lzoubek for creating it.
>>    1.9.6
>>    - added: "Disable hash search" setting under Advanced settings, it 
>> disables Hash search on OpenSubtitles and Podnapisi(still does name search). 
>> it needs to be disabled on
> some systems with smb:// drives attached.
>>    1.9.5
>>    - fixed: works on python2.6??, handles smb:// files better and temp subs 
>> are now in addon_data/script.xbmc.subtitles
>>    1.9.4
>>    - fixed: search using parent folder is showing correctly now
>>    1.9.3
>>    - changed logging method
>>    1.9.2
>>    - added: Farsi support
> [...]
>> -      <setting id="Language1" type="enum" label="30101" default="11" 
>> lvalues="30201|30202|30203|30204|30205|30206|30207|30208|30209|30210|30211|30212|30213|30214|30215|30216|
> 30217|30218|30219|30220|30221|30222|30224|30225|30226|30227|30228|30229|30230|30232|30233|30234|30235|30236|30237|30238|30239|30240|30242|30243|30244|30245|30246"
>  />
>> +      <setting id="Lang1" type="labelenum" label="30101" 
>> default="SerbianLatin" 
>> lvalues="30201|30202|30203|30204|30205|30206|30207|30208|30209|30210|30211|30212|30213|30247|
> 30214|30215|30216|30217|30218|30219|30220|30221|30222|30224|30225|30226|30227|30228|30229|30230|30232|30233|30234|30235|30236|30237|30238|30239|30240|30242|30243|30244|30245|
> 30246" />
>
> The subtitles script now fails to work for non-English users :( (or at least
> for me)
> I guess this is because the values are now localized and the script doesn't
> understand localized language names.
>
> (this also means they all default to 'Albanian' as the default entry is not
> found)
>
> BTW, why is the default language 1 SerbianLatin?

Cos I don't have to set the defaults then. :)


>
> For reference, here's the error when trying to start subtitles script
> configured for English, when XBMC language is Finnish:
> 18:10:51 T:140424618436368 M:458678272    INFO: -->Python script returned the 
> following error<--
> 18:10:51 T:140424618436368 M:458678272   ERROR: Error Type: 
> exceptions.KeyError
> 18:10:51 T:140424618436368 M:458678272   ERROR: Error Contents: Englanti
> 18:10:51 T:140424618436368 M:458665984    INFO: -->End of Python script error 
> report<--
>
> --
> Anssi Hannula
> XBMC developer

Yeah that would be the problem, will look into it later tonight

Cheers for letting me know

Zeljko

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to