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


Update on File Sorting - utsusemi - 2012-03-09

I wanted to post an update on my efforts to add sorting based on filenames. I was able to get it working, though there may be issues with this implementation. Basically, all I had to do was add
Code:
xbmcplugin.addSortMethod(handle=int( self._handle ), sortMethod=xbmcplugin.SORT_METHOD_FILE)
with the other sort methods, and then I modified the url of xbmcplugin.addDirectoryItem(...) in _add_rom(...) to be set to the cmd argument instead of the format string that was previously there. At least in the current code, the cmd argument to _add_rom(...) is always the path to the rom, so sorting by File results in sorting by the filename. I'm a bit unsure of this implementation though, because I don't know why url was previously set to the format string. It's very much possible that the naming convention used comes in use somewhere else in the plugin or with skin integration. Angelscry, I'm sure you can tell me if I'm breaking anything with this implementation Tongue

Edit: It looks like doing this may disable launching anything lol... I'll keep digging through the code to see if I can get this working.


- Angelscry - 2012-03-09

utsusemi Wrote:I wanted to post an update on my efforts to add sorting based on filenames. I was able to get it working, though there may be issues with this implementation. Basically, all I had to do was add
Code:
xbmcplugin.addSortMethod(handle=int( self._handle ), sortMethod=xbmcplugin.SORT_METHOD_FILE)
with the other sort methods, and then I modified the url of xbmcplugin.addDirectoryItem(...) in _add_rom(...) to be set to the cmd argument instead of the format string that was previously there. At least in the current code, the cmd argument to _add_rom(...) is always the path to the rom, so sorting by File results in sorting by the filename. I'm a bit unsure of this implementation though, because I don't know why url was previously set to the format string. It's very much possible that the naming convention used comes in use somewhere else in the plugin or with skin integration. Angelscry, I'm sure you can tell me if I'm breaking anything s.with this implementation Tongue

Edit: It looks like doing this may disable launching anything lol... I'll keep digging through the code to see if I can get this working.
If you touch at the listitem url values, you will break all the way XBMC call and start the items and the launchers... and so will not be able to start anything after. BTW, I have already added the option for the next Advanced Launcher version that will be released this week-end. Please, just be patient.

Name sorting
Image

Filename sorting : Default
Image


- utsusemi - 2012-03-09

Angelscry Wrote:BTW, I have already added the option for the next Advanced Launcher version that will be released this week-end. Please, just be patient.

Awesome, that's very nice to hear. Sorry if I seemed impatient; I was kind of using this as a way to become more familiar with using python with xbmc. I'm looking forward to seeing how you got it working ^_^


- User 102910 - 2012-03-09

Angelscry Wrote:You can try to suspend XBMC using and .sh script like here : http://www.gwenael.org/forum/viewtopic.php?id=39. But you must be aware that booting and running XBMC as standalone means that you define system conditions that favors XBMC to be the only running application.

Thank you, this script worked!


Version 1.7.12 - Angelscry - 2012-03-10

Version 1.7.12 : This new version of advanced launcher add a the "default" sorting order for launchers and items. This "default" option is corresponding to the filenames sorting and could be use for example to correctly sort launcher and item names containing roman numerals version number (when filenames containing alpha numerical version number).

Image

Changelog :
  • Add launcher and item filenames sort support.



1.7.7 - cracksloth - 2012-03-10

i get an addon.py failure when loading any version of AL beyond 1.7.7 - can anyone think of what would have changed that would have created that problem? via the changelog the change was removal of the mameworld scraper. maybe that's the problem somehow?


- Angelscry - 2012-03-11

cracksloth Wrote:i get an addon.py failure when loading any version of AL beyond 1.7.7 - can anyone think of what would have changed that would have created that problem? via the changelog the change was removal of the mameworld scraper. maybe that's the problem somehow?
It could be related to the fact that Advanced Launcher settings still configured with MAMEWorld scraper. You can try to close XBMC, delete the
xbmc/userdata/addon_data/plugin.program.advanced.launcher/settings.xml file and restart XBMC then Advanced Launcher.


- ghostelement - 2012-03-11

Any chance you'll add support for scraping platform data and images from thegamesdb.net? It's been added to our API support. Smile


- cracksloth - 2012-03-11

that did the trick - thank you!


nulldc naomi - pmk1977 - 2012-03-11

High, awesome programs/launcher. getting probs with nulldc naomi, ive the reg nulldc set up flawless. As below

[ImageReader]
PatchRegion=0
LoadDefaultImage=1
DefaultImage=defualt.gdi
...
Application
C:\Program Files (x86)\nullDC-optimized-r133\nullDC_Win32_Release-NoTrace.exe
Arguments
-config ImageReader:defaultImage="%rom%"
Roms Extension
cdi|gdi

Now the naomi roms i have are zips, mistly just single .bin inside i have all bios etc. Demul has this file in the root folder im thinking should i set this like & as DefaultImage=NAOBD.bin

Thanks in advance


nulldc naomi - pmk1977 - 2012-03-11

High, awesome programs/launcher. getting probs with nulldc naomi, ive the reg nulldc set up flawless. As below

[ImageReader]
PatchRegion=0
LoadDefaultImage=1
DefaultImage=defualt.gdi
...
Application
C:\Program Files (x86)\nullDC-optimized-r133\nullDC_Win32_Release-NoTrace.exe
Arguments
-config ImageReader:defaultImage="%rom%"
Roms Extension
cdi|gdi

Now the naomi roms i have are zips, mostly just single .bin inside i have all bios etc. Demul has this file in the root folder im thinking should i set this like & as DefaultImage=NAOBD.bin

Thanks in advance


RE: nulldc naomi - Angelscry - 2012-03-12

(2012-03-11, 09:32)pmk1977 Wrote: High, awesome programs/launcher. getting probs with nulldc naomi, ive the reg nulldc set up flawless. As below

[ImageReader]
PatchRegion=0
LoadDefaultImage=1
DefaultImage=defualt.gdi
...
Application
C:\Program Files (x86)\nullDC-optimized-r133\nullDC_Win32_Release-NoTrace.exe
Arguments
-config ImageReader:defaultImage="%rom%"
Roms Extension
cdi|gdi

Now the naomi roms i have are zips, mostly just single .bin inside i have all bios etc. Demul has this file in the root folder im thinking should i set this like & as DefaultImage=NAOBD.bin

Thanks in advance
Your declared roms extension are cdi and gdi. And your actual roms file are zip files containing bin images. You need first to extract your zip file and then add the .bin extension into the launcher (cdi|gdi|bin).




RE: [RELEASE] Advanced Launcher - Application, Emulator and ROMs Launcher Addon for XBMC - jickler - 2012-03-13

Hey, I'm wondering if anyone has had problems with launcher menu entries vanishing. I'm using the latest release (1.7.13) on XBMC Eden, running on ubuntu 8.04. I use it to run emulators, and sometimes when I add a new emulator or update something (item list, info/thumbnail/fanart), one of the entries just disappears (like my Super Nintendo launcher just vanishes.) There's no error output that I've seen, it just disappears and I have to readd it. Thanks!


RE: [RELEASE] Advanced Launcher - Application, Emulator and ROMs Launcher Addon for XBMC - Angelscry - 2012-03-13

(2012-03-13, 01:35)jickler Wrote: Hey, I'm wondering if anyone has had problems with launcher menu entries vanishing. I'm using the latest release (1.7.13) on XBMC Eden, running on ubuntu 8.04. I use it to run emulators, and sometimes when I add a new emulator or update something (item list, info/thumbnail/fanart), one of the entries just disappears (like my Super Nintendo launcher just vanishes.) There's no error output that I've seen, it just disappears and I have to readd it. Thanks!
Do you mean that your Super Nintendo launcher is completely deleted from Advanced Launcher (entry deleted fro the launchers.xml file) or that your Super Nintendo entrie disapears from the XBMC custom home menu (favorite link broken)?




RE: [RELEASE] Advanced Launcher - Application, Emulator and ROMs Launcher Addon for XBMC - dirtymurt - 2012-03-13

any idea why my thumbnails are not showing up. i corrected my comics in comic rack and they show fine in there and i have the xml files contained in the cbz file? but no thumbs showing. do i need to scrape them again from comicvine as i already did this in comic rack?