2014-12-19, 16:33
Add pre/post steam scripts via the addons settings.
(2014-12-21, 01:32)whatsinaname Wrote: I have a strange problem I can't seem to pin down.
I use KODI, and steam launcher and an xbox 360 wireless controller. when I launch kodi it is in the kodi shell, then launch steam from kodi. no problems there. Steam launches and I can play games.
When I leave steam, it exits and kodi relaunches. then the problem starts, it seems like my controller is pressing left and it will not let me move right or up or down untill I remove the batteries, and restart the computer.
any one else experience this? this is on a haswell i5 nuc with windows 8.1.
Thanks for any insight. I know it may be KODI and not steam launcher but I don't know where to start.
(2014-12-22, 05:32)teeedubb Wrote: @axis_75 is openbox running when you cant see kodi? The command pidof openbox will show you.Thanks mate, will give that crack next time it hangs. Ironically, the last couple of reboots have been fine...
The autostart optons for open box are in the file: $HOME/.config/openbox/autostart.sh , you can comment out the commands that change the background, byt Im not sure if that is your problem.
(2014-12-22, 05:32)teeedubb Wrote: @Raytestrak @whatsinaname I couldnt reproduce the problem with a wired controller on win8.1 + kubuntu 14.04 or with a wireless controller on ubuntu minimal 14.04, all with Kodi rc3. I have noticed the controller going nuts before, but it happens seldomly so I dont remeber which OS or xbmc/kodi version and moving a stick or trigger and the controller is back to normal. Does the problem happen if kodi is started manually, with either the controller on before kodi is started and with it turned on after kodi has started?
(until [[ $(lsmod | grep xpad) ]] ; do sleep 1 ; done ; rmmod xpad && modprobe xpad)&
c:\PATH\TO\pssuspend.exe Kodi.exe
c:\PATH\TO\pssuspend.exe -r Kodi.exe
(2014-12-24, 03:12)teeedubb Wrote: @Raytestrak: I havent tested this extensivley but it seems to be working. Put this in /etc/rc.local , dont forget to make rc.local exectuable.
Code:(until [[ $(lsmod | grep xpad) ]] ; do sleep 1 ; done ; rmmod xpad && modprobe xpad)&
18:02:26 T:3556 NOTICE: -->Python Interpreter Initialized<--
18:02:26 T:3556 DEBUG: CPythonInvoker(1, C:\Users\Salón\AppData\Roaming\Kodi\addons\script.steam.launcher\default.py): the source file to load is "C:\Users\Salón\AppData\Roaming\Kodi\addons\script.steam.launcher\default.py"
18:02:26 T:3556 DEBUG: CPythonInvoker(1, C:\Users\Salón\AppData\Roaming\Kodi\addons\script.steam.launcher\default.py): setting the Python path to C:\Users\Salón\AppData\Roaming\Kodi\addons\script.steam.launcher;C:\Program Files (x86)\Kodi\system\python\DLLs;C:\Program Files (x86)\Kodi\system\python\Lib;C:\Program Files (x86)\Kodi\python27.zip;C:\Program Files (x86)\Kodi\system\python\lib\plat-win;C:\Program Files (x86)\Kodi\system\python\lib\lib-tk;C:\Program Files (x86)\Kodi;C:\Program Files (x86)\Kodi\system\python;C:\Program Files (x86)\Kodi\system\python\lib\site-packages
18:02:26 T:3556 DEBUG: CPythonInvoker(1, C:\Users\Salón\AppData\Roaming\Kodi\addons\script.steam.launcher\default.py): entering source directory C:\Users\Salón\AppData\Roaming\Kodi\addons\script.steam.launcher
18:02:26 T:3556 DEBUG: CPythonInvoker(1, C:\Users\Salón\AppData\Roaming\Kodi\addons\script.steam.launcher\default.py): instantiating addon using automatically obtained id of "script.steam.launcher" dependent on version 2.1.0 of the xbmc.python api
18:02:27 T:3556 NOTICE: script.steam.launcher: ****Running Steam-Launcher....
18:02:27 T:3556 NOTICE: script.steam.launcher: running on osAndroid, osOsx, osLinux, osWin: 0 0 0 1
18:02:27 T:3556 NOTICE: script.steam.launcher: usr scripts are set to be checked for updates...
18:02:27 T:3556 NOTICE: script.steam.launcher: usr scripts are not set to be deleted, running version check
18:02:27 T:3556 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Contents: 'ascii' codec can't decode byte 0xc3 in position 60: ordinal not in range(128)
Traceback (most recent call last):
File "C:\Users\Sal?ppData\Roaming\Kodi\addons\script.steam.launcher\default.py", line 340, in <module>
scriptVersionCheck()
File "C:\Users\Sal?ppData\Roaming\Kodi\addons\script.steam.launcher\default.py", line 214, in scriptVersionCheck
usrScriptDir = os.path.join(getAddonDataPath(), 'scripts')
File "C:\Users\Sal?ppData\Roaming\Kodi\addons\script.steam.launcher\default.py", line 55, in getAddonDataPath
log('addon userdata folder does not exist, creating: %s' % path)
File "C:\Users\Sal?ppData\Roaming\Kodi\addons\script.steam.launcher\default.py", line 44, in log
xbmc.log(u'%s: %s' % (scriptid, msg))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 60: ordinal not in range(128)
-->End of Python script error report<--
18:02:27 T:3556 INFO: Python script stopped