2010-01-25, 18:47
JustSomeUser Wrote:The problems with spaces seems related to this http://trac.xbmc.org/ticket/7337
To fix it just open "XBMC\plugins\Programs\Launcher\resources\lib\launcher_plugin.py"
search for "def _run_launcher(self, launcherName)"
look for "xbmc.executebuiltin" and escape the quotes like this
Code:xbmc.executebuiltin("%s(\\\"%s\\\" \\\"%s\\\")" % (cmd, launcher["application"], launcher["args"]))
repeat this for "def _run_rom(self, launcherName, romName)" (few lines below)
and save the file
now delete "XBMC\plugins\Programs\Launcher\resources\lib\launcher_plugin.pyo" and try it out.
Tested with Launcher 1.04 and XBMC 9.11-a2 on WinXP64
I did this and now the app starts ok but it seems arguments are not being passed.
anyone know how to fix the arguments aswell please? thanks!
(this was working fine before i upgraded from 9.10-pre to 9.11 final, with 9.11 the launcherv1.04 produces errors on paths with spaces e.g. "could not find "C:\Program ".). so i did the above and it now launches my player, but doesn't pass any command line arguments. i have no idea how to debug sorry :/
WinXP 32bit.