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


- TheHazel3yes - 2011-11-07

Angelscry Wrote:
  • %rompath% will define current directory path of each rom file.
  • and %romspath% will define the parent directory path (defined into launcher) of all the rom files.

Does this mean I can combine two variables like below?

Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<launchers>
    <launcher>
        <id>62d00337e887d0f3683bc176f900af00</id>
        <name>Game Boy</name>
        <application>/usr/games/mednafen</application>
        <args>-path_sav /media/media/Games/GBA/Saves/ [b]"%romspath%""%romfile%"[/b]</args>
        <rompath>[b]/media/media/Games/GBA/Roms/[/b]</rompath>
        <thumbpath>smb://XBMC/Games/GBA/Artwork/Thumbs/</thumbpath>
        <fanartpath>smb://XBMC/Games/GBA/Artwork/Fanart/</fanartpath>
        <extrafanartpath></extrafanartpath>
        <romext>gb|gbc|gba</romext>
        <platform>Game Boy</platform>
        <thumb>smb://XBMC/Games/GBA/thumb.jpg</thumb>
        <fanart>smb://XBMC/Games/GBA/fanart.jpg</fanart>
        <genre></genre>
        <release>1989</release>
        <publisher></publisher>
        <launcherplot></launcherplot>
        <minimize>true</minimize>
        <lnk></lnk>
        <roms>
            <rom>
                <id>4cded2ef5b611a512d63d95f23d9adf1</id>
                <name>Boxxle</name>
                <filename>[b]smb://XBMC/Games/GBA/Roms/Boxxle.gb[/b]</filename>
                <platform>Game Boy</platform>
                <thumb>smb://XBMC/Games/GBA/Artwork/Thumbs/Boxxle.jpg</thumb>
                <fanart>smb://XBMC/Games/GBA/Artwork/Fanart/Boxxle.jpg</fanart>
                <extrafanart></extrafanart>
                <genre>Puzzle</genre>
                <release>1990</release>
                <publisher>Atelier Double</publisher>
                <gameplot></gameplot>
            </rom>

I've marked the relevant parts bold. You see I'm using SMB paths where possible, however emulators won't work with SMB so I have to use hardcoded path in the args variable. Right now I've hardcoded paths in the filename of each game. After the switch from XBMC Live to OpenELEC the paths were different and so I had to change all of them. With the modification shown above I would only need to change the path once per emulator.


- Angelscry - 2011-11-07

TheHazel3yes Wrote:Does this mean I can combine two variables like below?

Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<launchers>
    <launcher>
        <id>62d00337e887d0f3683bc176f900af00</id>
        <name>Game Boy</name>
        <application>/usr/games/mednafen</application>
        <args>-path_sav /media/media/Games/GBA/Saves/ [b]"%romspath%""%romfile%"[/b]</args>
        <rompath>[b]/media/media/Games/GBA/Roms/[/b]</rompath>
        <thumbpath>smb://XBMC/Games/GBA/Artwork/Thumbs/</thumbpath>
        <fanartpath>smb://XBMC/Games/GBA/Artwork/Fanart/</fanartpath>
        <extrafanartpath></extrafanartpath>
        <romext>gb|gbc|gba</romext>
        <platform>Game Boy</platform>
        <thumb>smb://XBMC/Games/GBA/thumb.jpg</thumb>
        <fanart>smb://XBMC/Games/GBA/fanart.jpg</fanart>
        <genre></genre>
        <release>1989</release>
        <publisher></publisher>
        <launcherplot></launcherplot>
        <minimize>true</minimize>
        <lnk></lnk>
        <roms>
            <rom>
                <id>4cded2ef5b611a512d63d95f23d9adf1</id>
                <name>Boxxle</name>
                <filename>[b]smb://XBMC/Games/GBA/Roms/Boxxle.gb[/b]</filename>
                <platform>Game Boy</platform>
                <thumb>smb://XBMC/Games/GBA/Artwork/Thumbs/Boxxle.jpg</thumb>
                <fanart>smb://XBMC/Games/GBA/Artwork/Fanart/Boxxle.jpg</fanart>
                <extrafanart></extrafanart>
                <genre>Puzzle</genre>
                <release>1990</release>
                <publisher>Atelier Double</publisher>
                <gameplot></gameplot>
            </rom>

I've marked the relevant parts bold. You see I'm using SMB paths where possible, however emulators won't work with SMB so I have to use hardcoded path in the args variable. Right now I've hardcoded paths in the filename of each game. After the switch from XBMC Live to OpenELEC the paths were different and so I had to change all of them. With the modification shown above I would only need to change the path once per emulator.
Yes, that's the goal of the Advanced Launcher custom parameters (%rompath%, %romfile%, etc...). Allows users to create sophisticated command lines that correspond to their needs. And your post is a great and smart example how these Advanced Launcher custom parameters could be used. Thank you for your share !!! Nod Wink


- hentai23 - 2011-11-08

hey angel you find out a way to be able to scrape the first image in the archive for cbr and cbz files and use it as thumb?


would be alot of help since ALOT of wrong thumbs from comicvine are added to my comics or entirely missing and yes ive properly named them -.-'


- Angelscry - 2011-11-08

hentai23 Wrote:hey angel you find out a way to be able to scrape the first image in the archive for cbr and cbz files and use it as thumb?

would be alot of help since ALOT of wrong thumbs from comicvine are added to my comics or entirely missing and yes ive properly named them -.-'
No. Not even try to search for. I'm not interested to work on this. Please give me a break. Oo


- hentai23 - 2011-11-08

ok -.-'....xD


- lokham - 2011-11-11

hello and thanks for this plugin.

I've always used it with dharma, and now with pre-eden.

I wanted to install advanced launcher on my other computer, but it freeze when I want to add a exe file.

no error message but it's written (in French, I don' know how to translate it in english) :

"chargement du dossier advanced launcher / 0 fichiers chargés" maybe the traduction is " loading files in advanced launcher / 0 files loaded"

that's it,I can't go further.


somebody can tell me what I'm doing wrong ?


thanks.


- Angelscry - 2011-11-11

lokham Wrote:hello and thanks for this plugin.

I've always used it with dharma, and now with pre-eden.

I wanted to install advanced launcher on my other computer, but it freeze when I want to add a exe file.

no error message but it's written (in French, I don' know how to translate it in english) :

"chargement du dossier advanced launcher / 0 fichiers chargés" maybe the traduction is " loading files in advanced launcher / 0 files loaded"

that's it,I can't go further.


somebody can tell me what I'm doing wrong ?


thanks.
Can you please describe exactly what you have done to obtain this error? Maybe your launchers.xml file is corrupted. Could you please post its content here (using pastebin service)?


- Angelscry - 2011-11-11

hentai23 Wrote:ok -.-'....xD
Ouupss... Sorry. You may misunderstanding me. Effectively, I'm not interested to add such king a feature into Advanced Launcher, because it will not possible to put in place something great based on the actual code of Advanced Launcher. But I'm interested to improve comics reading and managing support into XBMC, but for this I am now convinced that a different add-on must be created for this. I have started a WIP thread here concerning this future new add-on : http://forum.xbmc.org/showthread.php?p=933293#post933293


- hentai23 - 2011-11-11

sounds great, im mainly pissed since comicvine adv scraper sux for like the most of my darkness comics even thou theyre named properly

and thats why was hoping therd be an addon or something possible in order to simply use the first image contained in the archive to use as thumb anyhow nice addon thread hope this gets realized

toldcha thers no way around it for comics if you want proper metadata and all with correct thumbs etc , and a first step would be to get a real comic scraper for metadata, the thumbs as said are already in the archive aka use the very first pic in da archive and its the cover always and for fanart you could also use the first pic since its poperly sized already so it wont be stretched or blurry , since thers very few fanart sources out ther if at all and if then usually very low quality, thou if you find one dont hesitate xD, btw comicvine sux -.-'


we need something like an anidb scraper but for comics xD


- Angelscry - 2011-11-12

hentai23 Wrote:sounds great, im mainly pissed since comicvine adv scraper sux for like the most of my darkness comics even thou theyre named properly
Comicvine databse sux. I cannot make a great scraper based on a scrap database.

hentai23 Wrote:and thats why was hoping therd be an addon or something possible in order to simply use the first image contained in the archive to use as thumb anyhow nice addon thread hope this gets realized
Problem is that the first image of the archives is not always the cover.

hentai23 Wrote:toldcha thers no way around it for comics if you want proper metadata and all with correct thumbs etc , and a first step would be to get a real comic scraper for metadata, the thumbs as said are already in the archive aka use the very first pic in da archive and its the cover always and for fanart you could also use the first pic since its poperly sized already so it wont be stretched or blurry , since thers very few fanart sources out ther if at all and if then usually very low quality, thou if you find one dont hesitate xD, btw comicvine sux -.-'
Problem is that there is no real good comic database. Best ones I have found actually are http://www.comicvine.com and http://www.comicbookdb.com but they are far to be complete of well organized.

On crucial example for me : comics are commercial books. So they all have an ISBN number (bar code) that exactly define them. Each comic have it's proper ISBN number. But none of the previous website use this identification number into their database. On that point Amazon website seems more powerful. If you take for example The Darkness Compendium Volume 2 have ISBN number 9781607064497. Just enter this number in Google and you will directly have more than 600 result pages only dedicated to this comic issue. And if you look at the corresponding Amazon page (http://www.amazon.com/Darkness-Compendium-2-Various/dp/1607064499) you have most a the useful information (release date, author, description). The bad point with Amazon if that the cover must be cropped before been imported into Advanced Launcher or XBMC.


- hentai23 - 2011-11-12

hmmmm, well hope you figure something out and check the last post in the comicbooks thread on the official aeon thread , i left some findings there from yesterday

p.s: tbh ive extracted only the first image of 250 comics archives yesterday as a test and ALL except for 1 had extracted only the front cover so please tell me again not all comics extract the front cover as first image xD


- Angelscry - 2011-11-18

I have just wrote a small tutorial explaining how to use Advanced Launcher to view Youtube videos automatically into fullscreen mode using the Google Chrome browser : http://www.gwenael.org/forum/viewtopic.php?pid=599#p599


- Parker_Payne - 2011-11-18

Maybe this solution could be helpful for other users, too:

Problem: (In Windows) Advanced Launcher needs to be started from a 'Fake Full Screen' environment Explained here. Otherwise after closing the started application (e.g. web browser), XBMC window will not automatically expand back to fullscreen again and consequently you'll stick to desktop... Confused

But if you need to have XBMC in 'True Fullscreen Mode' (e.g. for smooth playback of video files which often relates to this option), you cannot start an application via Advanced Launcher.

Solution: Use the 'True Fullscreen Mode' and start the application via a batch file under consideration of the NirCmd-Tool. http://www.gwenael.org/forum/viewtopic.php?id=26
Download here: http://www.nirsoft.net/utils/nircmd.html
NirCmd will re-focus and expand XBMC after the application was closed and although the 'True Fullscreen Mode' has been set!

An example batch could look like this:
Code:
@echo off
cd D:\Programme\GoogleChromePortable\
GoogleChromePortable.exe %1
cd D:\Temp\xbmc\nircmd\
nircmd.exe win max process XBMC.exe
exit

Hope this also works for other users...

Regards


- Angelscry - 2011-11-18

Thank you for the tips. It will be surely useful for some users...Nod


MakeMKV - gollumscave - 2011-11-21

Hi all,

I have used Advanced Launcher to start ripping a bluray disc from the XBMC menu. Here's a little more info about my setup first:

Ubuntu 11.10 server (command line install)
XBMC Eden (repository ppa:nathan-renniewaldock/xbmc-nightly)
MakeMKV 1.6.14 for Linux (compiled on own machine)

I have installed the advancedlauncher and have created a standalone launcher.

The program to be started is: makemkvcon
the arguments are: backup --decrypt --cache=16 --noscan -r --progress=-same disc:0 /home/xbmc/.xbmc/makemkvtemp/

This all works perfectly.

The only problem is... The output is the BDMV and CERTIFICATE folder. There's no way XBMC can extract the correct title from that.

What I would like to do is:

- Start the launcher
- Launcher asks for moviename
- Launcher creates folder with the name user has input
- Launcher starts the program with the arguments
- Launcher sends msg to xbmc console: rip successfully completed

Is any of this possible with the advancedlauncher? Or do any of you guys have an idea on how to achieve this?
Perhaps with a script? (have 0 experience in scripting)