Kodi Community Forum
[CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Game Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=291)
+---- Thread: [CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC (/showthread.php?tid=85724)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - BillCosby - 2014-10-06

First of all, thank you very much for this great plugin.

I am trying to scrape my local rom collection with "local images", but nothing is happeneing, they are all in the designated thumbnail folder, and they have the exact names (with a different suffix) as the files they are suppost to relate to.

I am guesing I am doing something wrong, but is there some sqlite database where I could change the information directly?
It would be very easy for me to write my own scraper then, and perform all the updating tasks, but I couldn't find where the actual data for the item information is stored.

Sadly I have little experience with xbmc programming, could you kindly point me in a direction where I can find said information?

[EDIT]
Sorry for the inconvenience, I just saw that you use XML to store this kind of information. This makes it much harder, but I think I can manage. (I really hate XML)


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Brian D - 2014-10-08

(2014-10-01, 03:56)Angelscry Wrote:
(2014-09-24, 15:07)Brian D Wrote: Hello,

I am getting a strange UI issue with my current setup, but I'm not sure if it is an XBMC, skin, or an AL issue.

Pretty much what happens is that I have created a favorite in advanced launcher for a category called Emulators. Then in my theme Aeon, I have the favorite set as a main menu item.

The issue is that when I click the shortcut Advanced Launcher will open in the tri-pane layout for a split second (with no content) then switch to the correct Category, in the correct layout. Obviously this is not the end of the world, but it sure looks like hell.

Is this due to the fact that I am using the favorite shortcut under the main menu?

If anyone else is doing this, do you see the same behavior and what theme are you using (that supports custom menu items)? I am willing to switch themes if that is the issue.
It will depend if your favorite shortcut into your main menu start Advanced Launcher corretly or not. You will have to activate the XBMC debug mode, start the favourite shortcut see which XBMC command is exactly used to start Advanced Launcher.

I switched to the skin Amber, which handles the situation a little better, but not perfect. Essentially it has the same issue, but it only happens the first time an advanced launcher shortcut is opened. After that the issue does not occur.

Here is the log for launching one of the shortcuts.

Code:
10:27:43 T:3268   DEBUG: ------ Window Init (Home.xml) ------
10:27:44 T:3268   DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x000d, modifier: 0x0
10:27:44 T:3268   DEBUG: CApplication::OnKey: return (0xf00d) pressed, action is Select
10:27:44 T:3268   DEBUG: Activating window ID: 10001
10:27:44 T:3268   DEBUG: ------ Window Deinit (Home.xml) ------
10:27:44 T:3268   DEBUG: ------ Window Init (MyPrograms.xml) ------
10:27:44 T:3268   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.program.advanced.launcher/?dab60eda12a4450c8a5657e5e3adc2ff)
10:27:44 T:3268   DEBUG:   ParentPath = [plugin://plugin.program.advanced.launcher/?dab60eda12a4450c8a5657e5e3adc2ff]
10:27:44 T:3268   DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin Advanced Launcher('plugin://plugin.program.advanced.launcher/','2','?dab60eda12a4450c8a5657e5e3adc2ff')
10:27:44 T:3268   DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the Advanced Launcher (id=7) plugin...
10:27:44 T:2832  NOTICE: Thread LanguageInvoker start, auto delete: false
10:27:44 T:2832    INFO: initializing python engine.
10:27:44 T:2832   DEBUG: CPythonInvoker(7, C:\Users\Brian\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py): start processing
10:27:44 T:2832  NOTICE: -->Python Interpreter Initialized<--
10:27:44 T:2832   DEBUG: CPythonInvoker(7, C:\Users\Brian\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py): the source file to load is "C:\Users\Brian\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py"
10:27:44 T:2832   DEBUG: CPythonInvoker(7, C:\Users\Brian\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py): setting the Python path to C:\Users\Brian\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher;C:\Users\Brian\AppData\Roaming\XBMC\addons\script.module.simplejson\lib;C:\Program Files (x86)\XBMC\addons\script.module.pil\lib;C:\Users\Brian\AppData\Roaming\XBMC\addons\script.common.plugin.cache\lib;C:\Users\Brian\AppData\Roaming\XBMC\addons\script.module.simple.downloader\lib;C:\Program Files (x86)\XBMC\addons\xbmc.debug\;C:\Users\Brian\AppData\Roaming\XBMC\addons\script.module.parsedom\lib;C:\Program Files (x86)\XBMC\system\python\DLLs;C:\Program Files (x86)\XBMC\system\python\Lib;C:\Program Files (x86)\XBMC\python27.zip;C:\Program Files (x86)\XBMC\system\python\lib\plat-win;C:\Program Files (x86)\XBMC\system\python\lib\lib-tk;C:\Program Files (x86)\XBMC;C:\Program Files (x86)\XBMC\system\python;C:\Program Files (x86)\XBMC\system\python\lib\site-packages
10:27:44 T:2832   DEBUG: CPythonInvoker(7, C:\Users\Brian\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py): entering source directory C:\Users\Brian\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher
10:27:44 T:2832   DEBUG: CPythonInvoker(7, C:\Users\Brian\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py): instantiating addon using automatically obtained id of "plugin.program.advanced.launcher" dependent on version 2.1.0 of the xbmc.python api
10:27:44 T:3268   ERROR: Control 51 in window 10001 has been asked to focus, but it can't
10:27:44 T:2832   DEBUG: LocalizeStrings: no strings.po file exist at C:\Users\Brian\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\language\English, fallback to strings.xml
10:27:44 T:2832  NOTICE: AdvancedLauncher: Load launchers.xml file
10:27:44 T:2832  NOTICE: AdvancedLauncher: Initialisation
10:27:44 T:2832  NOTICE: AdvancedLauncher: dab60eda12a4450c8a5657e5e3adc2ff category folder > Launcher list
10:27:44 T:3268   DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult- plugin returned successfully
10:27:44 T:2832    INFO: CPythonInvoker(7, C:\Users\Brian\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py): script successfully run
10:27:44 T:3452  NOTICE: Thread BackgroundLoader start, auto delete: false
10:27:44 T:3452   DEBUG: Thread BackgroundLoader 3452 terminating
10:27:44 T:2832    INFO: Python script stopped
10:27:44 T:2832   DEBUG: Thread LanguageInvoker 2832 terminating
10:27:45 T:3268   DEBUG: Keyboard: scancode: 0x01, sym: 0x001b, unicode: 0x001b, modifier: 0x0
10:27:45 T:3268   DEBUG: CApplication::OnKey: escape (0xf01b) pressed, action is PreviousMenu
10:27:45 T:3268   DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
10:27:45 T:3268   DEBUG: ------ Window Deinit (MyPrograms.xml) ------
10:27:45 T:3268   DEBUG: CGUIWindowManager::PreviousWindow: Activate new

Here is the actual skins code for the menu item
Code:
<item id="21" description="Custom1">
      <visible>!IsEmpty(Skin.String(CustomHome.1.Path))</visible>
      <label>$INFO[Skin.String(CustomHome.1.Label)]</label>
      <thumb fallback="special://skin/backgrounds/default/default.jpg">$INFO[Skin.String(CustomHome.1.Background)]</thumb>
      <onclick>$INFO[Skin.String(CustomHome.1.Path)]</onclick>
</item>

If you need a full log, or if it is out of your control (a skin issue) just let me know.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2014-10-08

(2014-10-08, 16:48)Brian D Wrote: I switched to the skin Amber, which handles the situation a little better, but not perfect. Essentially it has the same issue, but it only happens the first time an advanced launcher shortcut is opened. After that the issue does not occur.
Problem is that we didn't know how the skins you are using start Advanced Launcher (if they start it correctly or not). Do you have the content of the favourites.xml file used by the skin to create the menu entry.

You have also to take into account that Advanced Launcher is not skin depend and do not manage display at all. So if you have a display problem with Advanced Launcher that's a skin related problem.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Brian D - 2014-10-08

(2014-10-08, 17:57)Angelscry Wrote:
(2014-10-08, 16:48)Brian D Wrote: I switched to the skin Amber, which handles the situation a little better, but not perfect. Essentially it has the same issue, but it only happens the first time an advanced launcher shortcut is opened. After that the issue does not occur.
Problem is that we didn't know how the skins you are using start Advanced Launcher (if they start it correctly or not). Do you have the content of the favourites.xml file used by the skin to create the menu entry.

You have also to take into account that Advanced Launcher is not skin depend and do not manage display at all. So if you have a display problem with Advanced Launcher that's a skin related problem.

Sure the favorites.xml is

Code:
<favourites>
    <favourite name="Emulators">ActivateWindow(10001,&quot;plugin://plugin.program.advanced.launcher/?dab60eda12a4450c8a5657e5e3adc2ff&quot;,return)</favourite>
    <favourite name="Stream">ActivateWindow(10001,&quot;plugin://plugin.program.advanced.launcher/?033b7eeb67c4b30cc21ee1cffc3711d0%2fe7a8c063d033f5013f0cee7efb05b9f0&quot;,return)</favourite>
</favourites>

I'm not sure if the HTML quotations "&quot;" are correct or not?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2014-10-08

Try to edit your favourites.xml file like this :

Code:
<favourites>
    <favourite name="Emulators">RunPlugin(&quot;plugin://plugin.program.advanced.launcher/?dab60eda12a4450c8a5657e5e3adc2ff&quot;)</favourite>
    <favourite name="Stream">RunPlugin(&quot;plugin://plugin.program.advanced.launcher/?033b7eeb67c4b30cc21ee1cffc3711d0%2fe7a8c063d033f5013f0cee7efb05b9f0&quot;)</favourite>
</favourites>

Add create your menu entries under your skin.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - ricardo85x - 2014-10-08

Hi Angelscry.

Thanks for you plugin

Are there any chances to split the XML file per launcher?

Today my launchers.xml have 12MB(everything working fine)

most of it is for FBA romset,
I know you do not support it for so many games, And I will play only 1% of it. But the best way to play 1% of it, is by choosing it thru your plugin Smile
So.. Do you think it is possible to split the launchers.xml into diferent files:

Today I have this:

Code:
-DEFAULT (launcher)
-- EMPTY ( 0 )
-EMULATOR (launcher)
-- FBA
--- 3000 itens
-- PSX
--- 7 item
-- Other
--- 500 itens

I would like to split because it is slow to process all this information. So I could create a new launcher only for ARCADE and use a another XML file for it.
In that way when I want to play 1 of 7 PSX games, it does not have to read this big XML from FBA.

ps: sorry for my english


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Brian D - 2014-10-08

(2014-10-08, 19:52)Angelscry Wrote: Try to edit your favourites.xml file like this :

Code:
<favourites>
    <favourite name="Emulators">RunPlugin(&quot;plugin://plugin.program.advanced.launcher/?dab60eda12a4450c8a5657e5e3adc2ff&quot;)</favourite>
    <favourite name="Stream">RunPlugin(&quot;plugin://plugin.program.advanced.launcher/?033b7eeb67c4b30cc21ee1cffc3711d0%2fe7a8c063d033f5013f0cee7efb05b9f0&quot;)</favourite>
</favourites>

Add create your menu entries under your skin.

Same result, although the flash is very fast. It looks almost like the left hand menu is out by default when opening the shortcut and has to collapse. It is hard to see exactly what is going on because it happens so fast.

This seems less like and advanced launcher issue because it happened with 2 different skins, but with Amber it is not a big deal because it only happens the first time you open an AL shortcut, after that there is no issue.

Thanks for you help. I'd call this one an XBMC issue or a skin issue.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2014-10-08

(2014-10-08, 20:11)ricardo85x Wrote: Hi Angelscry.

Thanks for you plugin

Are there any chances to split the XML file per launcher?

Today my launchers.xml have 12MB(everything working fine)

most of it is for FBA romset,
I know you do not support it for so many games, And I will play only 1% of it. But the best way to play 1% of it, is by choosing it thru your plugin Smile
So.. Do you think it is possible to split the launchers.xml into diferent files:

Today I have this:

Code:
-DEFAULT (launcher)
-- EMPTY ( 0 )
-EMULATOR (launcher)
-- FBA
--- 3000 itens
-- PSX
--- 7 item
-- Other
--- 500 itens

I would like to split because it is slow to process all this information. So I could create a new launcher only for ARCADE and use a another XML file for it.
In that way when I want to play 1 of 7 PSX games, it does not have to read this big XML from FBA.

ps: sorry for my english
That will be really complicated to do and to manage as you can now create with Advanced Launcher "categories of launchers" and "launchers of categories".


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - ricardo85x - 2014-10-08

(2014-10-08, 21:02)Angelscry Wrote:
(2014-10-08, 20:11)ricardo85x Wrote: Hi Angelscry.

Thanks for you plugin

Are there any chances to split the XML file per launcher?

Today my launchers.xml have 12MB(everything working fine)

most of it is for FBA romset,
I know you do not support it for so many games, And I will play only 1% of it. But the best way to play 1% of it, is by choosing it thru your plugin Smile
So.. Do you think it is possible to split the launchers.xml into diferent files:

Today I have this:

Code:
-DEFAULT (launcher)
-- EMPTY ( 0 )
-EMULATOR (launcher)
-- FBA
--- 3000 itens
-- PSX
--- 7 item
-- Other
--- 500 itens

I would like to split because it is slow to process all this information. So I could create a new launcher only for ARCADE and use a another XML file for it.
In that way when I want to play 1 of 7 PSX games, it does not have to read this big XML from FBA.

ps: sorry for my english
That will be really complicated to do and to manage as you can now create with Advanced Launcher "categories of launchers" and "launchers of categories".

yeah I know...

For now I think I found a solution.
I created a new XBMC profile, only for ARCADE.
So when want to play console games, I Load the default profile, and When want to play arcade games, I go to ARCADE profiles on XBMC.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - fabeer - 2014-10-09

Hello,little up here,any hope of a solution for android users?
Script fails when retrieving covers of games,and cannot create xml file error....would desperatly want to be bale to use this add on on my minix x7..

Hope someone could find a solution,thx

Edit : it's weird,it's kind of ok with gba roms ,it can download covers,but with others emulators it doesnt...


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - raid517 - 2014-10-12

Hi I have set up a bunch of games and apps to launch with Advanced Launcher. So far so good. However now I want to move some of the app launchers I have created to my default 'Programs' directory, so that I can have them in the same place as all of my other apps. For example for Advanced Launcher links to streaming video apps (Netflix etc), I want these in in the same place as my other video addons, for Advanced Launcher links to music streaming apps (Pandora, Google Music, Spotifty etc.) in my music addons and so on. Is there any way to do this?

Also given that the theory is good I would also like to know how to add certain 'web apps' (basically full screen/kiosk mode firefox pages) to my Programs directory , so that I can integrate the above type Apps seamlessly into XBMC using advanced Launcher or some other methodology.

I read about some guy doing this on Linux (well I watched a YouTube video to be honest) and he didn't go into much detail on how to do it. I would of course need an easy way to close out of these apps and to drop cleanly back into XBMC.

However it's done, it would need to be something I could (eventually) integrate with Event Ghost and/or VoxCommando (both of which I have). For the time being though I just want to get things set up and working well aesthetically if I can.

Any input would be much appreciated.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2014-10-12

(2014-10-12, 06:41)raid517 Wrote: Hi I have set up a bunch of games and apps to launch with Advanced Launcher. So far so good. However now I want to move some of the app launchers I have created to my default 'Programs' directory, so that I can have them in the same place as all of my other apps. For example for Advanced Launcher links to streaming video apps (Netflix etc), I want these in in the same place as my other video addons, for Advanced Launcher links to music streaming apps (Pandora, Google Music, Spotifty etc.) in my music addons and so on. Is there any way to do this?
No there is no way to do this. The most closer you can obtain, is to create into Advanced Launcher Programs, Video and Music categories, put the dedicated launchers inside them and then create favourites of your XBMC apps and put them also into the dedicated categories. Finally it may be possible (that the most unknown part) to modify/edit the skin you are using to start those Advanced Launcher's categories from the XBMC home menu in place of the classic Programs, Video and Music menu entries.

(2014-10-12, 06:41)raid517 Wrote: Also given that the theory is good I would also like to know how to add certain 'web apps' (basically full screen/kiosk mode firefox pages) to my Programs directory , so that I can integrate the above type Apps seamlessly into XBMC using advanced Launcher or some other methodology.
Create stand alone launchers of your web browser using the URL of the web app you want as parameter.

(2014-10-12, 06:41)raid517 Wrote: I read about some guy doing this on Linux (well I watched a YouTube video to be honest) and he didn't go into much detail on how to do it. I would of course need an easy way to close out of these apps and to drop cleanly back into XBMC.

However it's done, it would need to be something I could (eventually) integrate with Event Ghost and/or VoxCommando (both of which I have). For the time being though I just want to get things set up and working well aesthetically if I can.
With Event Ghost (that you would start on your system before XBMC), you can map a button of your remote or key of your keyboard that will force to close any application that coudl be started by Advanced Launcher.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - S3N1L3AN1MAL - 2014-10-13

This looks awesome, and seems very versatile and customizable. I'm trying to decide if I should config Advanced Launcher or RCB (they're redundant, so no need for both right, or am I mistaken?), and I've got some questions about features I hope someone will be kind enough to answer:

1. Zip/ISO support?
2. Support for file ratings and/or favorites?
3. Auto-revert to XBMC after closing emulator?

I tried to find more info, but all I could find was this: http://wiki.xbmc.org/index.php?title=Add-on:Advanced_Launcher and most of the links are broken. Thank you for your time and any info you can provide; I appreciate it.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2014-10-13

(2014-10-13, 04:38)S3N1L3AN1MAL Wrote: This looks awesome, and seems very versatile and customizable. I'm trying to decide if I should config Advanced Launcher or RCB (they're redundant, so no need for both right, or am I mistaken?), and I've got some questions about features I hope someone will be kind enough to answer:
If you plan to manage your roms from XBMC, RCB is the better choise. If you plan to start a lot of different kind of applications (emulators, games, browser, ebook or pdf viewers, etc...), Advanced Launcher is the better choise.

(2014-10-13, 04:38)S3N1L3AN1MAL Wrote: 1. Zip/ISO support?
That's the application that you will start with Advanced Launcher that will be able to support or not ZIP or ISO file. Advanced Launcher just tell the application to open such or such file.

(2014-10-13, 04:38)S3N1L3AN1MAL Wrote: 2. Support for file ratings and/or favorites?
No file rating. You can add each categories, launchers or items as XBMC favourites. You can also create launchers based on XBMC favorites.

(2014-10-13, 04:38)S3N1L3AN1MAL Wrote: 3. Auto-revert to XBMC after closing emulator?
If your system is well configured, it's automatic.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - S3N1L3AN1MAL - 2014-10-13

Thank you for the response, especially to noobish and (I imagine) frequently asked questions.

I love how you can create view by console and view by genre screens with Advanced Launcher, yet RCB seemingly does not support this. Is it possible to use both, or will I wind up with a mess?