2008-10-23, 09:46
First I duplicated the Launcher folder within the plugins folder (C:\Program Files\XBMC\plugins\programs).
Then I changed the __plugin__ constant that you can find in the default.py file, just to be sure that it wouldn't cause any confusion to what plugin I was using in XBMC (maybe some developer or the plugin creator can clarify if this is realy necessary).
Finally, in the resources\lib\launcher_plugin.py file modified the line
BASE_CURRENT_SOURCE_PATH = xbmc.translatePath( os.path.join( "P:\\plugin_data", "programs", sys.modules[ "__main__" ].__plugin__, "Launcher.xml" ) )
to
BASE_CURRENT_SOURCE_PATH = xbmc.translatePath( os.path.join( "P:\\plugin_data", "programs", sys.modules[ "__main__" ].__plugin__, "AppsLauncher.xml" ) )
This should be right on the beginning of the file in line 27. This will change the file where all launcher definitions are stored.
This worked for me and seems to be stable, but as i am not the creator of the plugin, there may be more that needs to be changed to ensure that everything works perfectly.
Hope this helps!
Then I changed the __plugin__ constant that you can find in the default.py file, just to be sure that it wouldn't cause any confusion to what plugin I was using in XBMC (maybe some developer or the plugin creator can clarify if this is realy necessary).
Finally, in the resources\lib\launcher_plugin.py file modified the line
BASE_CURRENT_SOURCE_PATH = xbmc.translatePath( os.path.join( "P:\\plugin_data", "programs", sys.modules[ "__main__" ].__plugin__, "Launcher.xml" ) )
to
BASE_CURRENT_SOURCE_PATH = xbmc.translatePath( os.path.join( "P:\\plugin_data", "programs", sys.modules[ "__main__" ].__plugin__, "AppsLauncher.xml" ) )
This should be right on the beginning of the file in line 27. This will change the file where all launcher definitions are stored.
This worked for me and seems to be stable, but as i am not the creator of the plugin, there may be more that needs to be changed to ensure that everything works perfectly.
Hope this helps!