Git version ignore alternative argument
Closed this issue · 7 comments
With the latest git version the alternative argument I set arent used anymore
Hi Mac1202. Current master development version is kind of unstable. Anyway, thanks for your report, will have a look ASAP. Same thing for issue #28.
Should be fixed now. Please check.
Nope still broken with latest git.
The terminal output :
15:50:08.210 T:140652311426816 ERROR: AEL DEBUG: ---------- Called AEL addon.py Main() constructor ----------
15:50:08.210 T:140652311426816 ERROR: AEL DEBUG: sys.platform linux2
15:50:08.210 T:140652311426816 ERROR: AEL DEBUG: Python version 2.7.12 (default, Nov 7 2016, 11:55:55) [GCC 6.2.1 20160830]
15:50:08.210 T:140652311426816 ERROR: AEL DEBUG: __addon_version__ 0.9.3
15:50:08.210 T:140652311426816 ERROR: AEL DEBUG: sys.argv[0] = "plugin://plugin.program.advanced.emulator.launcher/"
15:50:08.210 T:140652311426816 ERROR: AEL DEBUG: sys.argv[1] = "-1"
15:50:08.210 T:140652311426816 ERROR: AEL DEBUG: sys.argv[2] = "?com=LAUNCH_ROM&catID=9e40145e7634ebc67edf13789d8caa93&launID=fcc618ec08ce3ff35041d7b685cd12a0&romID=eac158012a31d259005ea240ff196bde"
15:50:08.211 T:140652311426816 ERROR: AEL DEBUG: args = {'romID': ['eac158012a31d259005ea240ff196bde'], 'launID': ['fcc618ec08ce3ff35041d7b685cd12a0'], 'com': ['LAUNCH_ROM'], 'catID': ['9e40145e7634ebc67edf13789d8caa93']}
15:50:08.211 T:140652311426816 ERROR: AEL VERB : fs_load_catfile() Loading special://profile/addon_data/plugin.program.advanced.emulator.launcher/categories.xml
15:50:08.217 T:140652311426816 ERROR: AEL INFO : _command_run_rom() Launching ROM in Launcher...
15:50:08.217 T:140652311426816 ERROR: AEL VERB : fs_load_ROMs_JSON() Dir special://profile/addon_data/plugin.program.advanced.emulator.launcher/db_ROMs
15:50:08.217 T:140652311426816 ERROR: AEL VERB : fs_load_ROMs_JSON() JSON roms_Jeux_Games_for_Windows_fcc618.json
15:50:08.217 T:140652311426816 ERROR: AEL INFO : _command_run_rom() Using Launcher standard arguments
15:50:08.217 T:140652311426816 ERROR: AEL INFO : _command_run_rom() categoryID = 9e40145e7634ebc67edf13789d8caa93
15:50:08.217 T:140652311426816 ERROR: AEL INFO : _command_run_rom() launcherID = fcc618ec08ce3ff35041d7b685cd12a0
15:50:08.217 T:140652311426816 ERROR: AEL INFO : _command_run_rom() romID = eac158012a31d259005ea240ff196bde
15:50:08.217 T:140652311426816 ERROR: AEL INFO : _command_run_rom() application = "/usr/bin/playonlinux"
15:50:08.217 T:140652311426816 ERROR: AEL INFO : _command_run_rom() apppath = "/usr/bin"
15:50:08.217 T:140652311426816 ERROR: AEL INFO : _command_run_rom() romfile = "/home/mac/Jeux/Roms/Windows/Tomb Raider.pol"
15:50:08.217 T:140652311426816 ERROR: AEL INFO : _command_run_rom() rompath = "/home/mac/Jeux/Roms/Windows"
15:50:08.217 T:140652311426816 ERROR: AEL INFO : _command_run_rom() rombasename = "Tomb Raider.pol"
15:50:08.217 T:140652311426816 ERROR: AEL INFO : _command_run_rom() romext = "pol"
15:50:08.217 T:140652311426816 ERROR: AEL INFO : _command_run_rom() rom_title = "Tomb Raider"
15:50:08.218 T:140652311426816 ERROR: AEL INFO : _command_run_rom() arguments = ""/home/mac/Jeux/Roms/Windows/Tomb Raider.pol""
15:50:08.218 T:140652311426816 ERROR: AEL VERB : fs_load_Collection_ROMs_JSON() special://profile/addon_data/plugin.program.advanced.emulator.launcher/history.json
15:50:08.218 T:140652311426816 ERROR: AEL VERB : fs_write_Collection_ROMs_JSON() special://profile/addon_data/plugin.program.advanced.emulator.launcher/history.json
15:50:08.223 T:140652311426816 ERROR: AEL VERB : fs_load_Favourites_JSON() File special://profile/addon_data/plugin.program.advanced.emulator.launcher/most_played.json
15:50:08.224 T:140652311426816 ERROR: AEL INFO : fs_write_Favourites_JSON() File special://profile/addon_data/plugin.program.advanced.emulator.launcher/most_played.json
15:50:08.229 T:140652311426816 ERROR: AEL VERB : _run_before_execution() media_state_action is "Stop" (0)
15:50:08.229 T:140652311426816 ERROR: AEL VERB : _run_before_execution() Suspending Kodi audio engine
15:50:08.236 T:140655425984576 DEBUG: ------ Window Init (DialogNotification.xml) ------
15:50:08.236 T:140655425984576 DEBUG: Window DialogNotification.xml was already loaded
15:50:08.236 T:140655425984576 DEBUG: Alloc resources: 0.00ms
15:50:08.329 T:140652311426816 ERROR: AEL VERB : _run_before_execution() Toggling Kodi fullscreen DEACTIVATED in Launcher
15:50:08.329 T:140652311426816 ERROR: AEL VERB : _run_before_execution() Pausing 500 ms
15:50:08.830 T:140652311426816 ERROR: AEL DEBUG: _run_before_execution() function ENDS
15:50:08.838 T:140655425984576 INFO: LIRC SetEnabled: disabled
And how the rom is setup Screenshot
You're right. Current code will use altapp and altarg ONLY if both are configured. I guess in your case you change only altarg. OK, will modify the code in this way: If altapp or altarg are configured then replace altapp, altart or both. altapp/altarg take always precedence over launcher extra arguments.
OK, try last commit please. I didn't have time for testing but it should work. Close the issue if so.
fixed, thank you.