2016-04-21, 17:26
(2016-04-21, 17:13)crashgybe Wrote:(2016-04-21, 15:28)Tadly Wrote: Oh and thanks again for helping me out
Hardly! You're helping me.
Incidently, it seems this lack of locale on openelec is not unusual. I tried one solution of setting the locale in the ~/.profile as follows:
Code:export LANG=en_ZA.UTF-8
And then the python commands returned the correct info:
Code:>>> import locale
>>> locale.getdefaultlocale()[0]
'en_ZA'
But this didn't seem to change anything so perhaps I'm barking up the wrong tree. I even tried setting it to en_US.UTF-8. No change. Hmmm.
Good approach but strange that it doesn't work.
Did you restart kodi after creating ~/.profile (might be that kodi isn't aware of the change yet)
Anyway, the locale change is already prepared locally.
I'll add a catch around the list-entry item in case it still fails so you (and others that might have the problem) at least can access the rest within "Listen Now"
Give me 5 - 10 mins and I'll let you when everything is commited