2021-12-02, 23:44
Hello,
I use several home made scripts, like this one, that used to work but seems to do nothing on v19...
This is really a simple script, I'm quite sure it should work the same way on python 2 and 3.
Here's the script, VF.py
I launch it from a custom button on the home menu
--------------------------------
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import xbmc
xbmc.executeJSONRPC('{"jsonrpc":"2.0", "method":"Settings.SetSettingValue", "params":{"setting":"locale.audiolanguage", "value":"French"}, "id":1}')
xbmc.executeJSONRPC('{"jsonrpc":"2.0", "method":"Settings.SetSettingValue", "params":{"setting":"locale.subtitlelanguage", "value":"Azerbaijani"}, "id":1}')
xbmc.executebuiltin("Notification(VF,,4000)")
--------------------------------
Any idea ?
Thanks !
I use several home made scripts, like this one, that used to work but seems to do nothing on v19...
This is really a simple script, I'm quite sure it should work the same way on python 2 and 3.
Here's the script, VF.py
I launch it from a custom button on the home menu
--------------------------------
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import xbmc
xbmc.executeJSONRPC('{"jsonrpc":"2.0", "method":"Settings.SetSettingValue", "params":{"setting":"locale.audiolanguage", "value":"French"}, "id":1}')
xbmc.executeJSONRPC('{"jsonrpc":"2.0", "method":"Settings.SetSettingValue", "params":{"setting":"locale.subtitlelanguage", "value":"Azerbaijani"}, "id":1}')
xbmc.executebuiltin("Notification(VF,,4000)")
--------------------------------
Any idea ?
Thanks !