Launcher Addon
#1
Yo!

I proposed an Addon, based on the plugin Launcher.

This is a beta, the thumbs can't be retrieved, but it do is work.

Final release will become soon, then all my plugins and scripts will be transformed in an addon.

Cheers

CinPoU - XBMC-Passion Team

http://passion-xbmc.org/downloads/?sa=downfile;id=114
Reply
#2
XBMC crashes after adding an application.
But the application is successfully added after restarting XBMC and the launching works.
But when I select "Get Thumb" it crashes again.

One question, what is the option "Toggle Wait Status"?

One suggestion, would it be possible to add an option for not minimizing XBMC on the execution. Just launch the program and do nothing else.
Reply
#3
Yo!

Could you give me your log file?

I keep in mind your suggestion
Reply
#4
Sorry for the late reply.

I updated to the latest Dharma build and the crashes seem to be gone.
Reply
#5
Can this plugin display emulator roms in the same way as the "old launcher plugin"?
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Reply
#6
I had the same problem as ridler. It crashed when adding an application, but still added it. Then it crashes when trying to "get thumb". I am running the newest build of Dharma (33030).
Reply
#7
I also experienced the crash when importing roms. I will post my log when I get home tonight. I have no issues searching for thumbs, but they do not add or download when they are selected. I know cinpou stated the thumbs are not currently working, but I wanted to try anyway.

Steve - Currently, minus the ability for thumbnail support, this is a working copy of launcher. I was able to launch xenogears for the psx with it last night (along with several other games on different emus). The launching of the emu/rom and then returning to xbmc upon exiting the rom all worked wonderfully.

My only real issue is the random rom sorting problem is back. Has anyone else experienced this? I will try to look at the code tonight and see if the fix from the other thread was applied to the code cinpou put up.

Thank you cinpou, this works great. I appreciate the hard work!
Reply
#8
maybe your debug log will help ...
Reply
#9
My roms are randomly sorting too.

Here is my log when it crashed:

23:24:07 T:3632 M:908197888 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:00
23:24:12 T:3928 M:902971392 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(plugin) in plugin://plugin.programm.launcher/default.xbe
23:24:12 T:3928 M:902971392 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(plugin) in plugin://plugin.program.executor/default.xbe
23:24:13 T:4296 M:903098368 ERROR: Texture manager unable to load file: C:\Users\Ben\AppData\Roaming\XBMC\addons\plugin.programm.launcher\icon.png
23:24:13 T:5392 M:902295552 NOTICE: -->Python Interpreter Initialized<--
23:24:13 T:5392 M:901750784 NOTICE: C:\Users\Ben\AppData\Roaming\XBMC\addons\plugin.programm.launcher
23:24:13 T:5392 M:901742592 NOTICE: Mode AddOn ON
23:24:13 T:5392 M:901742592 NOTICE: C:\Users\Ben\AppData\Roaming\XBMC\userdata\addon_data\plugin.programm.launcher
23:24:13 T:5392 M:901373952 NOTICE: Launcher: found 1 launchers
23:24:14 T:4376 M:900280320 NOTICE: -->Python Interpreter Initialized<--
23:24:14 T:4376 M:900276224 NOTICE: C:\Users\Ben\AppData\Roaming\XBMC\addons\plugin.programm.launcher
23:24:14 T:4376 M:900276224 NOTICE: Mode AddOn ON
23:24:14 T:4376 M:900276224 NOTICE: C:\Users\Ben\AppData\Roaming\XBMC\userdata\addon_data\plugin.programm.launcher
23:24:14 T:4376 M:900222976 NOTICE: Launcher: found 1 launchers
23:24:14 T:4376 M:900214784 NOTICE: Launcher: NES Emulator : found 857 roms
23:24:34 T:5636 M:901292032 NOTICE: -->Python Interpreter Initialized<--
23:24:34 T:5636 M:900562944 NOTICE: C:\Users\Ben\AppData\Roaming\XBMC\addons\plugin.programm.launcher
23:24:34 T:5636 M:900468736 NOTICE: Mode AddOn ON
23:24:34 T:5636 M:900476928 NOTICE: C:\Users\Ben\AppData\Roaming\XBMC\userdata\addon_data\plugin.programm.launcher
23:24:34 T:5636 M:899526656 NOTICE: Launcher: found 1 launchers

Thanks for your work on this cinpou!
Reply
#10
full log please
Reply
#11
I can't find where to attach files. Hope this is ok:

23:24:06 T:3928 M:935940096 NOTICE: -----------------------------------------------------------------------
23:24:06 T:3928 M:935940096 NOTICE: Starting XBMC, Platform: Windows 7, 64-bit (WoW) build 7600. Built on Aug 21 2010 (SVN:33030, compiler 1600)
23:24:06 T:3928 M:935940096 NOTICE: Intel® Pentium® Dual CPU T2370 @ 1.73GHz
23:24:06 T:3928 M:935940096 NOTICE: Desktop Resolution: 1280x800 32Bit at 60Hz
23:24:06 T:3928 M:935936000 NOTICE: Running with restricted rights
23:24:06 T:3928 M:935936000 NOTICE: special://xbmc/ is mapped to: C:\Program Files (x86)\XBMC
23:24:06 T:3928 M:935936000 NOTICE: special://xbmcbin/ is mapped to: C:\Program Files (x86)\XBMC
23:24:06 T:3928 M:935936000 NOTICE: special://masterprofile/ is mapped to: C:\Users\Ben\AppData\Roaming\XBMC\userdata
23:24:06 T:3928 M:935936000 NOTICE: special://home/ is mapped to: C:\Users\Ben\AppData\Roaming\XBMC
23:24:06 T:3928 M:935936000 NOTICE: special://temp/ is mapped to: C:\Users\Ben\AppData\Roaming\XBMC\cache
23:24:06 T:3928 M:935936000 NOTICE: The executable running is: C:\Program Files (x86)\XBMC\XBMC.exe
23:24:06 T:3928 M:935936000 NOTICE: Log File is located: C:\Users\Ben\AppData\Roaming\XBMC\xbmc.log
23:24:06 T:3928 M:935936000 NOTICE: -----------------------------------------------------------------------
23:24:06 T:3928 M:935923712 NOTICE: Setup SDL
23:24:06 T:3928 M:935800832 NOTICE: Found screen: Generic PnP Monitor on ATI Mobility Radeon HD 3400 Series, adapter 0.
23:24:06 T:3928 M:935792640 NOTICE: Primary mode: 1280x800 @ 60.00 - Full Screen
23:24:06 T:3928 M:935788544 NOTICE: Additional mode: 640x480 @ 60.00 - Full Screen
23:24:06 T:3928 M:935858176 NOTICE: Previous line repeats 2 times.
23:24:06 T:3928 M:935858176 NOTICE: Additional mode: 720x480 @ 60.00 - Full Screen
23:24:06 T:3928 M:935858176 NOTICE: Previous line repeats 2 times.
23:24:06 T:3928 M:935858176 NOTICE: Additional mode: 800x480 @ 60.00 - Full Screen
23:24:06 T:3928 M:935858176 NOTICE: Previous line repeats 2 times.
23:24:06 T:3928 M:935858176 NOTICE: Additional mode: 800x600 @ 60.00 - Full Screen
23:24:06 T:3928 M:935858176 NOTICE: Previous line repeats 2 times.
23:24:06 T:3928 M:935858176 NOTICE: Additional mode: 1024x480 @ 60.00 - Full Screen
23:24:06 T:3928 M:935858176 NOTICE: Previous line repeats 2 times.
23:24:06 T:3928 M:935858176 NOTICE: Additional mode: 1024x600 @ 60.00 - Full Screen
23:24:06 T:3928 M:935858176 NOTICE: Previous line repeats 2 times.
23:24:06 T:3928 M:935858176 NOTICE: Additional mode: 1024x768 @ 60.00 - Full Screen
23:24:06 T:3928 M:935858176 NOTICE: Previous line repeats 2 times.
23:24:06 T:3928 M:935858176 NOTICE: Additional mode: 1280x720 @ 60.00 - Full Screen
23:24:06 T:3928 M:936153088 NOTICE: Previous line repeats 2 times.
23:24:06 T:3928 M:936153088 NOTICE: Additional mode: 1280x768 @ 60.00 - Full Screen
23:24:06 T:3928 M:935858176 NOTICE: Previous line repeats 2 times.
23:24:06 T:3928 M:935858176 NOTICE: Additional mode: 1280x800 @ 60.00 - Full Screen
23:24:06 T:3928 M:935813120 NOTICE: load settings...
23:24:06 T:3928 M:935694336 NOTICE: special://profile/ is mapped to: special://masterprofile/
23:24:06 T:3928 M:935690240 NOTICE: loading special://masterprofile/guisettings.xml
23:24:06 T:3928 M:935624704 NOTICE: Getting hardware information now...
23:24:06 T:3928 M:935624704 NOTICE: Checking resolution 12
23:24:06 T:3928 M:935620608 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
23:24:06 T:3928 M:935604224 NOTICE: Loaded playercorefactory configuration
23:24:06 T:3928 M:935604224 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
23:24:06 T:3928 M:935604224 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
23:24:06 T:3928 M:935600128 NOTICE: No advancedsettings.xml to load (special://masterprofile/advancedsettings.xml)
23:24:06 T:3928 M:935600128 NOTICE: Default DVD Player: dvdplayer
23:24:06 T:3928 M:935600128 NOTICE: Default Video Player: dvdplayer
23:24:06 T:3928 M:935600128 NOTICE: Default Audio Player: paplayer
23:24:06 T:3928 M:935596032 NOTICE: Loading media sources from special://masterprofile/sources.xml
23:24:06 T:3928 M:922349568 NOTICE: initializing playlistplayer
23:24:06 T:3928 M:922345472 NOTICE: DONE initializing playlistplayer
23:24:06 T:3928 M:916897792 NOTICE: CApplication::UpdateLibraries - Starting video library startup scan
23:24:06 T:3928 M:916729856 NOTICE: initialize done
23:24:06 T:3928 M:916729856 NOTICE: Running the application...
23:24:06 T:3632 M:916578304 NOTICE: VideoInfoScanner: Starting scan ..
23:24:06 T:3632 M:916488192 ERROR: XFILE::CDirectory::GetDirectory - Error getting C:\Media\TV Shows\
23:24:06 T:3928 M:916459520 NOTICE: ES: Starting event server
23:24:06 T:1180 M:916389888 NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
23:24:06 T:1180 M:916324352 NOTICE: UDP: Listening on port 9777
23:24:07 T:3632 M:908197888 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:00
23:24:12 T:3928 M:902971392 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(plugin) in plugin://plugin.programm.launcher/default.xbe
23:24:12 T:3928 M:902971392 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(plugin) in plugin://plugin.program.executor/default.xbe
23:24:13 T:4296 M:903098368 ERROR: Texture manager unable to load file: C:\Users\Ben\AppData\Roaming\XBMC\addons\plugin.programm.launcher\icon.png
23:24:13 T:5392 M:902295552 NOTICE: -->Python Interpreter Initialized<--
23:24:13 T:5392 M:901750784 NOTICE: C:\Users\Ben\AppData\Roaming\XBMC\addons\plugin.programm.launcher
23:24:13 T:5392 M:901742592 NOTICE: Mode AddOn ON
23:24:13 T:5392 M:901742592 NOTICE: C:\Users\Ben\AppData\Roaming\XBMC\userdata\addon_data\plugin.programm.launcher
23:24:13 T:5392 M:901373952 NOTICE: Launcher: found 1 launchers
23:24:14 T:4376 M:900280320 NOTICE: -->Python Interpreter Initialized<--
23:24:14 T:4376 M:900276224 NOTICE: C:\Users\Ben\AppData\Roaming\XBMC\addons\plugin.programm.launcher
23:24:14 T:4376 M:900276224 NOTICE: Mode AddOn ON
23:24:14 T:4376 M:900276224 NOTICE: C:\Users\Ben\AppData\Roaming\XBMC\userdata\addon_data\plugin.programm.launcher
23:24:14 T:4376 M:900222976 NOTICE: Launcher: found 1 launchers
23:24:14 T:4376 M:900214784 NOTICE: Launcher: NES Emulator : found 857 roms
23:24:34 T:5636 M:901292032 NOTICE: -->Python Interpreter Initialized<--
23:24:34 T:5636 M:900562944 NOTICE: C:\Users\Ben\AppData\Roaming\XBMC\addons\plugin.programm.launcher
23:24:34 T:5636 M:900468736 NOTICE: Mode AddOn ON
23:24:34 T:5636 M:900476928 NOTICE: C:\Users\Ben\AppData\Roaming\XBMC\userdata\addon_data\plugin.programm.launcher
23:24:34 T:5636 M:899526656 NOTICE: Launcher: found 1 launchers
Reply
#12
Thanks a lot for this addon, except for crashing when adding a program it works great.
Reply
#13
I'm having a few problems getting this program to launch my roms. When I select a rom it switches out of xbmc and I get a windows error saying it cannot find my emulator (C:\Emulators\Jnes). The path is correct, and I have the emulator in that path, but it doesn't launch it. Anyone know what would be causing this problem?

Thanks for the help!
Reply
#14
steve1977 Wrote:Can this plugin display emulator roms in the same way as the "old launcher plugin"?

Any thoughts?
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Reply
#15
Cinpou, thanks for your work on the launcher plugin. I noticed that it does not sort the launchers and roms. The order seems to be random. So I modified launcher_plugin.py to sort by name. I added this function above the "Main" class:
Code:
def ksort(d, func = None):
    keys = d.keys()
    keys.sort(func)
    return keys
And modified _get_launchers():
Code:
for index in ksort(self.launchers):
And _get_roms():
Code:
for index in ksort(roms) :
Maybe you could add this to your code, or at least it will get you started. I'm no python programmer, so let me know if there is a better way to do this.

Jeff
Reply

Logout Mark Read Team Forum Stats Members Help
Launcher Addon0