2012-04-03, 17:37
(2012-04-03, 14:11)mylssi Wrote: The script seems to be failing using a Finnish locale(fi_FI.UTF-8).
http://pastebin.com/reRWQ7Zw
Finnish uses comma as the radix point and settings.xml is saved using the system locale, so parsing for a dot in int(__addon__.getSetting("limit_extrafanart_max").rstrip('0').rstrip('.')) fails. If I manually replace commas with dots the script runs fine.
Running version 1.0.9 from the xbmc.org repo.
I need the full Debug Log to see what XBMC version you are using. It should not matter what local setting you have. The values saved in the setting should always have the dot as decimal separator.