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


- Adeiko - 2011-05-11

Hey angelscry

Some months ago you showed how to use Advanced Launcher as a comic viewer here:

http://forum.xbmc.org/showpost.php?p=681560&postcount=832

Can you explain better how to do it? Is tehre any scraper in development of that?


- r3h4b - 2011-05-11

Hi AngelsCry,

Here are my settings.


Code:
<settings>
    <setting id="clean_title" value="true" />
    <setting id="datas_scraper" value="AllGame" />
    <setting id="fanart_image_size" value="0" />
    <setting id="fanarts_scraper" value="Google" />
    <setting id="game_region" value="0" />
    <setting id="ignore_bios" value="true" />
    <setting id="launcher_fanart_path" value="N:\Mediacenter\-=Emulators=-\1. art\fanart\" />
    <setting id="launcher_thumb_path" value="N:\Mediacenter\-=Emulators=-\1. art\thumbs\" />
    <setting id="media_state" value="0" />
    <setting id="overwrite_fanarts" value="true" />
    <setting id="overwrite_thumbs" value="true" />
    <setting id="recursive_scan" value="true" />
    <setting id="scrap_fanarts" value="2" />
    <setting id="scrap_info" value="2" />
    <setting id="scrap_thumbs" value="2" />
    <setting id="show_batch" value="false" />
    <setting id="thumb_image_size" value="0" />
    <setting id="thumbs_scraper" value="GameFAQs" />
    <setting id="title_formating" value="true" />
</settings>

I edit a game item (e.g. "sonic") and just try to get fanart for it. No matter what I type, no results are found using the Google scraper without any messages (is there a log somewhere?). It's quite frustrating, really...Oh, pasting this

Code:
http://www.google.ca/search?tbm=isch&hl=en&source=hp&biw=1024&bih=582&q=sonic&gbv=2&aq=f&aqi=g10&aql=&oq=

in my browser is coming up with results. Weird, eh?

Thanks again.





Edit:

Ok. Bad news. My fear is confirmed. Google somehow banned me using this plugin. I know it sounds strange but I tried with a proxy (Hotspot shield) and damn!: results.

This all happened after I used the Google scraper to scrape images for a large romset so they've probably set up some banning rules. Now what?



- Angelscry - 2011-05-11

mandark Wrote:yay, many thanks for the quick fix! Big Grin

i've just updated the german language file for v1.3.3. you can download it here.
Thank you mandark for the translation.


- Angelscry - 2011-05-11

Death-Axe Wrote:Hi, got a little idea. We have external apps to make media scanning better for the movie and TV scraping.

Hows about an external app that will scan all of your stuff in, and then exports the data to the advanced launcher folder?

This way, if you have a tonne of roms, like the mame set for example; you can use xbmc without having to wait like an hour to scan your roms in. Then you can watch your shows or movies while it is scanning. Also would be easier to correct any mis scrapes.

I have no programming skills whatsoever, but maybe the talented folk here could create a collaboration project or something.

Just a thought ;-)
Yes it will be a good idea. I have already try to found a way to do this from XBMC (like movies scrappers) using Advanced Launcher... but I think it is not possible to do the same manner. An external application may do the job. All the launchers and items informations are stored into the launchers.xml file so I think it is not difficult to access/modify the data.

I will try to see If it will be not possible for me to create a second program add-on into python, than will have the possibility to do the scan by using Advanced Launcher settings, scrappers and by updating the launchers.xml into a background process. I will try to check this... Thanks you the idea. Wink


- malte - 2011-05-11

Maybe not the best way but this is how we got it working in RCB (just as another idea):
- make sure that you can launch your scraper code from an external module
- write an external module that launches your scraper code
- launch the external module in autoexec.py - this is done by RCB if the user enables background scraping (autoexec.py will be replaced by service in Eden afaik)

This is the external module that we use to launch the scraping code. It additionally paints the progress of the import (writeMsg is called from inside the scraper code).


- Angelscry - 2011-05-11

Adeiko Wrote:Hey angelscry

Some months ago you showed how to use Advanced Launcher as a comic viewer here:

http://forum.xbmc.org/showpost.php?p=681560&postcount=832

Can you explain better how to do it? Is tehre any scraper in development of that?
To manage comics you need to found an application that was able to display .cbr or .cbz files using command line. Those files are just comics images files compressed into .zip or .rar format and renamed into .cbz or .cbr.

I have actually tested several applications on Linux, but only make a WIKI for QComicBook application. I'm pretty sure it is possible to do the same under windows, but not have found the time yet to discover the right application to do that.

The .cbr and .cbz files will be managed by Advanced Launcher as items (like roms) and launchers will not be assigned as a collection for example.

Unfortunately, actually, if you want to build your comic books collection you have to do it manually (edit manually the information concerning your comic, or comic collection, found manually thumbs and fanarts images).

Actually the main problem is to write a good scrapper and found good www sources. If have already found Comic Book DB for US comics, BD Gest' for European comics (but it is only in french) and nothing really interesting for Mangas. Maybe some of you know other comic/mangas database sources.

Also the main problem with a scrapper will be to recognize the comic name and tome number. Unlike game roms, there is not really convention for comics, BD and mangas names. So if a scrapper will be made I do not think it will be possible to have automatic scrapping, but only manual or maybe semi-automatic. As you see it is not really simple.


- Angelscry - 2011-05-11

r3h4b Wrote:Ok. Bad news. My fear is confirmed. Google somehow banned me using this plugin. I know it sounds strange but I tried with a proxy (Hotspot shield) and damn!: results.

This all happened after I used the Google scraper to scrape images for a large romset so they've probably set up some banning rules. Now what?
What do you mean exactly by large romset? Do you have used the google scrapper during automatic scanning? If so... it maybe be possible that you have reach a quota limit on Google Images.

Google images scrapper, due to its low accuracy result, have only been put into Advanced Launcher only for specific search (images not present into other game images databases) but not for automatic scan imports.

For what I actually know there is no quota limitation for Google Images API Key used by Advanced Launcher (http://code.google.com/apis/imagesearch/terms.html). Even if there is a quota, in our case, this is not the API key that have been blocked (because other users, as me, still able to use it). This is also not only your IP adress, because your still able to access Google Images using you browser. It's look like it is the combo API Key/your IP address that a been blocked (is it is this).

If it is the case the solutions for you will be :
  • use proxy server
  • use another api key
  • expect that you will be unbanned after several days



- Angelscry - 2011-05-11

malte Wrote:Maybe not the best way but this is how we got it working in RCB (just as another idea):
- make sure that you can launch your scraper code from an external module
- write an external module that launches your scraper code
- launch the external module in autoexec.py - this is done by RCB if the user enables background scraping (autoexec.py will be replaced by service in Eden afaik)

This is the external module that we use to launch the scraping code. It additionally paints the progress of the import (writeMsg is called from inside the scraper code).
Thank you for the code information malte. This could be also another way to do it. I just have to found more information on how to start independent external modules in python. Thank you... Nod


- r3h4b - 2011-05-11

Angelscry Wrote:What do you mean exactly by large romset? Do you have used the google scrapper during automatic scanning? If so... it maybe be possible that you have reach a quota limit on Google Images.

Google images scrapper, due to its low accuracy result, have only been put into Advanced Launcher only for specific search (images not present into other game images databases) but not for automatic scan imports.

For what I actually know there is no quota limitation for Google Images API Key used by Advanced Launcher (http://code.google.com/apis/imagesearch/terms.html). Even if there is a quota, in our case, this is not the API key that have been blocked (because other users, as me, still able to use it). This is also not only your IP adress, because your still able to access Google Images using you browser. It's look like it is the combo API Key/your IP address that a been blocked (is it is this).

If it is the case the solutions for you will be :
  • use proxy server
  • use another api key
  • expect that you will be unbanned after several days

Yup, I'll use the proxy for now and stay away for using it for automatic scanning. Thanks again for the great plugin.


- Adeiko - 2011-05-12

Angelscry Wrote:To manage comics you need to found an application that was able to display .cbr or .cbz files using command line. Those files are just comics images files compressed into .zip or .rar format and renamed into .cbz or .cbr.

I have actually tested several applications on Linux, but only make a WIKI for QComicBook application. I'm pretty sure it is possible to do the same under windows, but not have found the time yet to discover the right application to do that.

The .cbr and .cbz files will be managed by Advanced Launcher as items (like roms) and launchers will not be assigned as a collection for example.

Unfortunately, actually, if you want to build your comic books collection you have to do it manually (edit manually the information concerning your comic, or comic collection, found manually thumbs and fanarts images).

Actually the main problem is to write a good scrapper and found good www sources. If have already found Comic Book DB for US comics, BD Gest' for European comics (but it is only in french) and nothing really interesting for Mangas. Maybe some of you know other comic/mangas database sources.

Also the main problem with a scrapper will be to recognize the comic name and tome number. Unlike game roms, there is not really convention for comics, BD and mangas names. So if a scrapper will be made I do not think it will be possible to have automatic scrapping, but only manual or maybe semi-automatic. As you see it is not really simple.

Well, i know that with Comicrack you can scrape with ComicVine.

Here is the web:

http://www.comicvine.com/

The API

http://api.comicvine.com/

And here the scraper for comicrack :

http://code.google.com/p/comic-vine-scraper/

Do you know if you can use Qcomicbook with a remote control?


- HenryFord - 2011-05-12

Adeiko Wrote:Well, i know that with Comicrack you can scrape with ComicVine.
Additionally Comricrack provides the command-line support needed for Windows - you can pass files to it when launching.


- ^FrEaK^ - 2011-05-14

anyone tried to add a java game to advanced launcher?

i've tried to add the downloaded version of minecraft, but nothing i try works, either the xbmc minimizes with no error or message or anything, and other times i just get the message from java itself "could not create the java virtual machine"

the game works fine if i start it from windows

i use xbmc nightly build "XBMCSetup-20110514-377382b-master", tried several other nighly's to with no luck, haven't tried the offical 10.1

her's the Debug Log from xbmc:

http://pastebin.com/yDWrqT3j


More topics about autoit - Belini - 2011-05-14

I have some knowledge in autoit, please indicate topics related to this language


- Angelscry - 2011-05-14

Belini Wrote:I have some knowledge in autoit, please indicate topics related to this language
Because it is not directly related to Advanced Launcher you will found some autoit script example here : http://www.gwenael.org/forum/viewforum.php?id=2


- Angelscry - 2011-05-14

^FrEaK^ Wrote:anyone tried to add a java game to advanced launcher?

i've tried to add the downloaded version of minecraft, but nothing i try works, either the xbmc minimizes with no error or message or anything, and other times i just get the message from java itself "could not create the java virtual machine"

the game works fine if i start it from windows

i use xbmc nightly build "XBMCSetup-20110514-377382b-master", tried several other nighly's to with no luck, haven't tried the offical 10.1

her's the Debug Log from xbmc:

http://pastebin.com/yDWrqT3j
I think your problem could be related to an incompatibility between XBMC and minecraft software. Both would not want to run together. One thing you can try is to use an intermediate .bat script that will automatically close XBMC and start minecraft. Then when minecraft will be ended, XBMC will be automatically restarted. Here is an exemple of script : http://www.gwenael.org/forum/viewtopic.php?id=6