Kodi Community Forum

Full Version: [CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
I'll watch the you tube video when i get home from work but im just double checking my addon.xml and launcher_plugin.py now and they look fine.


-addon.xml-

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.program.advanced.launcher.2" name="Advanced Launcher 2" version="1.5.6" provider-name="Angelscry">



launcher_plugin.py

PLUGIN_DATA_PATH = xbmc.translatePath( os.path.join( "special://profile/addon_data", "plugin.program.advanced.launcher.2") )
__settings__ = Addon( id="plugin.program.advanced.launcher.2" )
__lang__ = __settings__.getLocalizedString



Can you spot anything wrong? the plugin folder is titled "plugin.program.advanced.launcher.2"


Cheers
RBX
rudeboyx Wrote:I'll watch the you tube video when i get home from work but im just double checking my addon.xml and launcher_plugin.py now and they look fine.


-addon.xml-

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.program.advanced.launcher.2" name="Advanced Launcher 2" version="1.5.6" provider-name="Angelscry">



launcher_plugin.py

PLUGIN_DATA_PATH = xbmc.translatePath( os.path.join( "special://profile/addon_data", "plugin.program.advanced.launcher.2") )
__settings__ = Addon( id="plugin.program.advanced.launcher.2" )
__lang__ = __settings__.getLocalizedString



Can you spot anything wrong? the plugin folder is titled "plugin.program.advanced.launcher.2"


Cheers
RBX
May looks good, but I need also to see the content of your addon.xml and launcher_plugin.py files located into the plugin.program.advanced.launcher directory to confirm if it is wrong or not.
Version 1.5.7 : This new version of Advanced Launcher include a mod created by atsumori that bring the multi-disc support/selection to Advanced Launcher.

Image

Multidisc files as to be named as follows:

[romname][disc number extension].[file extension]

Where romname, is the name of the rom, disc number extension is the number of the disc labeled like ".cd1", "-cd1", "_cd1", or "-cd1" (change "1" to the disc number) and file extension if the extension of the disk (iso, bin, img, etc...) Format example :
  • final fantasy VII-cd2.iso
  • final fantasy VIII.cd1.iso
  • etc...
Changelog
  • Add multidisc selection support (big thanks to atsumori)
  • Add localisation support to multidisc selection
  • Update French translation
Angelscry Wrote:May looks good, but I need also to see the content of your addon.xml and launcher_plugin.py files located into the plugin.program.advanced.launcher directory to confirm if it is wrong or not.


Those are small clipets of my xml and py files. the rest of the content is default for whats inside the files normally. I only adjusted those specific sections. If they look fine to you then it's a mystery.

I've just watched the video and thats exactly what i did. i dont see where I could go wrong, it's so simple, but it still just doesnt work for me.
rudeboyx Wrote:Those are small clipets of my xml and py files. the rest of the content is default for whats inside the files normally. I only adjusted those specific sections. If they look fine to you then it's a mystery.

I've just watched the video and thats exactly what i did. i dont see where I could go wrong, it's so simple, but it still just doesnt work for me.
Ok... so give my all the information about your system : Windows? Linux? Version of your operating system. Version of XBMC. Version of Advanced Launcher, Skin name and version. Have you thought to restart XBMC after made the modification? Could you try to redo the duplication, and send me the xbmc.log file. Maybe there is an error message inside that could help us to found what is wrong.
Angelscry Wrote:Ok... so give my all the information about your system : Windows? Linux? Version of your operating system. Version of XBMC. Version of Advanced Launcher, Skin name and version. Have you thought to restart XBMC after made the modification? Could you try to redo the duplication, and send me the xbmc.log file. Maybe there is an error message inside that could help us to found what is wrong.


I will try and get all this info for you over the next few days.
Thanks
RBX
Well this is error from my debug log

Code:
18:01:37 T:6832 M:3300487168    INFO: ADDON: cpluff: 'XML parsing error in C:\Users\Scott\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher.2\addon.xml, line 17, column 225 (not well-formed (invalid token)).'
18:01:37 T:6832 M:3300487168    INFO: ADDON: cpluff: 'Plug-in descriptor in C:\Users\Scott\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher.2 is invalid.'


And here is the addon.xml

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.program.advanced.launcher.2" name="Advanced Launcher 2" version="1.5.6" provider-name="Angelscry">
<requires>
<import addon="xbmc.python" version="1.0"/>
<import addon="script.module.simplejson" version="2.0.9"/>
</requires>
<extension point="xbmc.python.pluginsource" library="addon.py">
<provides>executable</provides>
</extension>
<extension point="xbmc.addon.metadata">
<platform>all</platform>
<disclaimer>Compatible with Dharma/Eden versions</disclaimer>
<summary lang="en">Runs applications from XBMC.</summary>
<summary lang="fr">Executer des applications depuis XBMC</summary>
<summary lang="es">Ejecuta Aplicaciones desde XBMC.</summary>
<description lang="en">The Advanced Launcher add-on is able to launch, from the XBMC GUI, any Linux and Windows applications that support command line instructions directly. This Add-on also provide the possibility, to download from several Internet databases and manage meta-data informations and images linked to these applications.</description>
<description lang="fr">L'Add-on Advanced Launcher est capable de lancer, depuis l'interface de XBMC, toutes les appplications Linux et Windows qui supportent les instructions en ligne de commande. Cet Add-on propose également la possibilité de télécharger depuis différentes base de données sur Internet et de gérer les information et les images en lien avec ces applications.</description>
<description lang="es">El add-on Advanced Launcher es capaz de ejecutar, desde el GUI del XBMC, cualquier aplicación de Linux o Windows que soporten instrucciones de comando de línea directamente. Este Add-on también provee la posibilidad de descargar y administrar desde varias Base de Datos de Internet imágenes e información de meta datos ligadas a las aplicaciones.</description>
</extension>
</addon>

Any idea whats wrong with the addon.xml?

Im using windows XBMC 10.1
Win7 x64
Advance Launcher 1.5.6
Skin = Transparency! v3.1.1.7

Thanks
RBX

P.S - Yes I have restarted XBMC after creating the second advanced launcher, infact XBMC wasnt even running when i created it but I have attempted several restarts of xbmc after creating the second AL.
rudeboyx Wrote:Any idea whats wrong with the addon.xml?
It could be related to your text editor. The addon.xml file is normally saved into UTF-8 format. It is possible that your text editor have saved it into another format (AINSI) after you edited it, making it no more readable by XBMC. Just be sure after editing addon.xml you save it as UTF-8 format. http://answers.microsoft.com/en-us/windo...e6b498712c
Angelscry Wrote:It could be related to your text editor. The addon.xml file is normally saved into UTF-8 format. It is possible that your text editor have saved it into another format (AINSI) after you edited it, making it no more readable by XBMC. Just be sure after editing addon.xml you save it as UTF-8 format. http://answers.microsoft.com/en-us/windo...e6b498712c


i just used wordpad and edited then closed and saved over the old one. I'll check tonight.
rudeboyx Wrote:i just used wordpad and edited then closed and saved over the old one. I'll check tonight.
I think using wordpad for editing xml files is the problem. Wordpad is a formated text editor, but I'm not sure it recognize well xml formated files, and may generate file format error when you save them. Notepad is a more simple text editor but save file under AINSI format by default instead or keeping it actual format. Personnaly I'm using the PsPad text editor, which recognize well files format.
Angelscry Wrote:I think using wordpad for editing xml files is the problem. Wordpad is a formated text editor, but I'm not sure it recognize well xml formated files, and may generate file format error when you save them. Notepad is a more simple text editor but save file under AINSI format by default instead or keeping it actual format. Personnaly I'm using the PsPad text editor, which recognize well files format.


Im ashamed to say i do infact have notepad++ but just havent gotten around to assigning it as my default txt editor. I'll try this all agin and let you know how it goes.

greg7777777 - maybe you can confirm if this resolves the issue for you.

RBX
sorted. i started again and used notepad++ to edit the files. All working fine now.

thanks for all the help

RBX
Hi Angelscry, i have a pc with Rom Collection Browser with all my roms collection, i want to setup another pc with this same collection (artwork,covers,etc) but configured this time with Advanced Launcher without having to download any data again and beeing able to use all the data i already have btw im using win 7, can it be done? or am i dreaming? Thanks!
DigiTech Wrote:Hi Angelscry, i have a pc with Rom Collection Browser with all my roms collection, i want to setup another pc with this same collection (artwork,covers,etc) but configured this time with Advanced Launcher without having to download any data again and beeing able to use all the data i already have btw im using win 7, can it be done? or am i dreaming? Thanks!
I do not know at all how RCB manage it's information data and images files. Emulators setup maybe be also different... So I think it is not really possible. I need more information on RCB to help you.
Angelscry Wrote:I do not know at all how RCB manage it's information data and images files. Emulators setup maybe be also different... So I think it is not really possible. I need more information on RCB to help you.
I guess images won't be a problem, once downloaded they get the same name as the corresponding rom files in RCB (with a different extension). Is this the same way ALA works? Maybe you have to rename the folders or something like this.

Main problem will be the textual information (title, plot, ...). RCB stores this information in database, ALA in launchers.xml file. I always thought about implementing an ALA import/export function in RCB but atm I don't have the time to do it.
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