Kodi Community Forum
GuiSettings in Python - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: GuiSettings in Python (/showthread.php?tid=173704)



GuiSettings in Python - Xive - 2013-09-17

Hello everyone,
I'm trying to edit XBMC's Audio settings through my python script instead of the skin Huh
I noticed that the changes i make in the settings take effect in the guisettings.xml in the specific lines (669 and 670) as i was trying to edit (Speaker Configuration and Audio output device) i need to be able to change them on the fly. I tried editing the guisettings.xml manually but xbmc revert back the original values on restart and using advancedsettings.xml will be static and i wouldn't be able to change it on the fly from my python script unless of-course there is a way i don't know about Smile

Any advice would be appreciated,
Thanks.


RE: GuiSettings in Python - Martijn - 2013-09-17

not possible atm
maybe in a couple of months if a dev finds some time to implement


RE: GuiSettings in Python - tillbaks - 2013-10-25

Aww that's too bad, this is the one thing I'm missing after switching from xbmc on windows to linux. :[
btw you can probably script these changes with xdotool if you are on linux and eventghost on windows, I will try it with xdotool if I get time this weekend, I think it should work..