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
butchabay Wrote:We've done an option to choose where all the game stuff can be customized by the user in Cirrus Extended. The code for fanart image and extrafanart is in myprograms.xml the trailer and thumbs are in the respective view file.
Ok... If skinners have the possibility to use extrafanarts functionnality for programs without the use of a specific Listitem value... I will let it how it is.
Angelscry Wrote:Ok... If skinners have the possibility to use extrafanarts functionnality for programs without the use of a specific Listitem value... I will let it how it is.

Please do it, I don't care if I have to code more but what butch has done needs an extra script (you add another variable so the chances for problems go up) and more user setup (steps) is needed and have limitations as all games have to be in a same root folder. I think the solution is not very good and its messy, a ListItem is way better for users and functionality.
KiSUAN Wrote:Please do it, I don't care if I have to code more but what butch has done needs an extra script (you add another variable so the chances for problems go up) and more user setup (steps) is needed and have limitations as all games have to be in a same root folder. I think the solution is not very good and its messy, a ListItem is way better for users and functionality.
Ok... I will keep the ListItem.Trailer assigned to the fanarts folder path. But as you said, it is not the good ultimate solution. Oo
This is not the way it is, the games haven't to be in the same root. The game path is only for media like extrafanart, extrathumb and trailer.
You'll don't need any extra script, just a setting to locate the path for all your media.
Anyway, finally it's Angelscry decision.
Cheers
butchabay Wrote:We've done an option to choose where all the game stuff can be customized by the user in Cirrus Extended. The code for fanart image and extrafanart is in myprograms.xml the trailer and thumbs are in the respective view file.

But what if the user has the extra fanart in different locations, and also it would depend on how are the launchers stored/ folder structure etc. if you make it a property as listitem.trailer or whatever you can simply use listitem.trailer/extrafanart to locate the fanart
butchabay Wrote:This is not the way it is, the games haven't to be in the same root. The game path is only for media like extrafanart, extrathumb and trailer.
You'll don't need any extra script, just a setting to locate the path for all your media.
Anyway, finally it's Angelscry decision.
Cheers

For coding purposes I can't really say if Butchabay is doing it the best way but from a user standpoint I think it is working out rather well.

Set up ALA and have your games launching from wherever you want/need. Then have a folder with all all of your extrathumbs and fanarts in a different folder. Then just tell the skin to look in your game art directory for the images.
Ok, I get the script part wrong, mixed things, my fault, but is the same in concept. User still has to have all the game media in same root path, has to create a path specific for the extrafanrt, thumb, trailer and assign it in the skin.

A "Listitem" linked to the ALA fanart path is much practical for user and doesn't needs to create/keep/assing extrafanrt specific paths and folders.

It's not a coding issue, it's a functionality issue. And anyway this doesn't means butch needs to change his system, he can keep it.
KiSUAN Wrote:Ok, I get the script part wrong, mixed things, my fault, but is the same in concept. User still has to have all the game media in same root path, has to create a path specific for the extrafanrt, thumb, trailer and assign it in the skin.

A "Listitem" linked to the ALA fanart path is much practical for user and doesn't needs to create/keep/assing extrafanrt specific paths and folders.

It's not a coding issue, it's a functionality issue. And anyway this doesn't means butch needs to change his system, he can keep it.
I think I will add a specific extrafanart tag. So, every body then will have the possibility to select exactly where will be located the extrafanart directory for each launcher and each rom. This extrafanart tag will be assigned to the ListItem.trailer value. Nod
Version 1.0.2 : This new version of the Advanced Launcher bring the extra fanarts support and improve the search option.

Extra Fanarts: You have now the possibility to select for each launchers and each items the path where will be located the extra fanarts images. Because the ListItem.Path value always returns the add-on path for XBMC programs, the ListItem.Trailer value is used to assign the extra fanarts path.
Search Option: You can now make search by title, release date, system platform, studio and genre. For title search, you will be asked to enter the query text. For other searches you will have to select the query into the proposed list.

Image Image Image Image

Changelog
  • Add extra fanart support for launchers/items
  • Add extra fanart path selection for launchers/items
  • Assign ListItem.Trailer to launchers/items fanarts path tags
  • Improve search options (search by genre, studio, release, etc...)
Polish r327
http://www.mediafire.com/?sq5ddu6dsrydndp
As fast as i can Wink
Robert de Clair Wrote:Polish r327
http://www.mediafire.com/?sq5ddu6dsrydndp
As fast as i can Wink
Thank you very much !!!! It will be added in the next version. Wink
GREAT WORK!!

Thank you very much and sorry for being such a pain in the ass Blush
Spanish Translation Update v1.0.2 Spanish String.xml
Keep getting an error while trying to attach an emulator. Error occurs after all launcher settings have been entered (paths, etc.). Any clues?



19:46:24 T:65500 M:4294967295 NOTICE: -->Python Interpreter Initialized<--
19:46:24 T:65500 M:4294967295 NOTICE: Mode AddOn ON
19:46:24 T:65500 M:4294967295 NOTICE: C:\Users\Jamie\AppData\Roaming\XBMC\userdata\addon_data\plugin.program.advanced.launcher
19:46:24 T:65500 M:4294967295 NOTICE: Launcher: found 0 launchers
19:46:42 T:66504 M:4294967295 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.advanced.launcher/
19:46:42 T:66504 M:4294967295 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.advanced.launcher/) failed
19:46:42 T:65940 M:4294967295 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
19:46:44 T:66076 M:4294967295 NOTICE: -->Python Interpreter Initialized<--
19:46:44 T:66076 M:4294967295 NOTICE: Mode AddOn ON
19:46:44 T:66076 M:4294967295 NOTICE: C:\Users\Jamie\AppData\Roaming\XBMC\userdata\addon_data\plugin.program.advanced.launcher
19:46:44 T:66076 M:4294967295 NOTICE: Launcher: found 0 launchers
19:47:06 T:66504 M:4294967295 ERROR: XFILE::CDirectory::GetDirectory - Error getting H:\Games\SNES\snes9x.exe
19:47:06 T:66504 M:4294967295 ERROR: CGUIDialogFileBrowser::GetDirectory(H:\Games\SNES\snes9x.exe) failed
19:47:17 T:66504 M:4294967295 ERROR: XFILE::CDirectory::GetDirectory - Error getting H:\Games\SNES\snes9x.exe
19:47:17 T:66504 M:4294967295 ERROR: CGUIDialogFileBrowser::GetDirectory(H:\Games\SNES\snes9x.exe) failed
19:47:22 T:66076 M:4294967295 ERROR: Error Type: exceptions.KeyError
19:47:22 T:66076 M:4294967295 ERROR: Error Contents: extrafanartpath
19:47:22 T:66076 M:4294967295 ERROR: Traceback (most recent call last):
File "C:\Users\Jamie\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py", line 19, in ?
plugin.Main()
File "C:\Users\Jamie\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 171, in __init__
if (self._add_new_launcher()):
File "C:\Users\Jamie\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 1609, in _add_new_launcher
self._save_launchers()
File "C:\Users\Jamie\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 894, in _save_launchers
usock.write("\t\t<extrafanartpath>"+launcher["extrafanartpath"]+"</extrafanartpath>\n")
KeyError: extrafanartpath
19:47:22 T:66504 M:4294967295 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.advanced.launcher/
19:47:22 T:66504 M:4294967295 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.advanced.launcher/) failed
19:47:22 T:66072 M:4294967295 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
KiSUAN Wrote:Spanish Translation Update v1.0.2 Spanish String.xml
Thank you very much. Your translation has been added to the last version. Wink
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