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


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - sdsnyr94 - 2012-09-05

(2012-09-05, 17:11)Angelscry Wrote:
(2012-09-05, 16:25)sdsnyr94 Wrote: If I load a version of Eden (windows or Linux).. everything works. So the million dollar question is : Is Advanced Launcher not Frodo ready yet, and is there a timeframe of when it will be?

Unfortunately, I needed some of the fixes that are in the pre-frodo builds on my ION XBMCbuntu unit, and it upgraded my database... so I need to stay frodo on my Windows unit.
No Frodo support yet. Advanced Launcher will be Frodo "ready" when the RC Frodo versions of XBMC will be available. The really million dollar question is "Advanced Launcher does not work on XBMC Frodo because : Advanced Launcher is not ready or because Frodo still unstable, bugged and into development? Wink

Well, when you have a test build you would like to try I will be more than happy to test it out. The things I would like to launch will be Mythtv-frontend (to edit commercials from recordings) , Emulators, and Steam games.

Thanks for the quick reply.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - GBBert - 2012-09-06

Problem when i scrap image
http://pastebin.com/gagYa8SS

The addon cant find my game too!



RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-09-07

(2012-09-06, 23:37)GBBert Wrote: Problem when i scrap image
http://pastebin.com/gagYa8SS

The addon cant find my game too!
Advanced Launcher is not able to save files in your selected path :

Code:
G:\\\xc3\u2030mulateurs\\Super Nintendo\\Covers\\

The problem is related to the fact that you are using the Unicode Character 'PER MILLE SIGN' (U+2030) in your path. That's not really Please use ASCII or extended ASCII characters. Which game the addon is not able to found? With which scrapper (or in which database) are your trying to found them?







RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-09-07

(2012-09-07, 02:20)Angelscry Wrote:
(2012-09-06, 23:37)GBBert Wrote: Problem when i scrap image
http://pastebin.com/gagYa8SS

The addon cant find my game too!
Advanced Launcher is not able to save files in your selected path :

Code:
G:\\\xc3\u2030mulateurs\\Super Nintendo\\Covers\\

The problem is related to the fact that you are using the Unicode Character 'PER MILLE SIGN' (U+2030) in your path. That's not really Please use ASCII or extended ASCII characters. Which game the addon is not able to found? With which scrapper (or in which database) are your trying to found them?
After checking, its seems that the problem is related to something else. Advanced Launcher seems have problem to interprete É character under windows. Must be a character encoding problem. I will try to see how Can I solve this.




RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - GBBert - 2012-09-07

I change my folder name to Emulateur without É and everything works great!

Thanks!


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-09-09

(2012-09-05, 17:36)sdsnyr94 Wrote:
(2012-09-05, 17:11)Angelscry Wrote:
(2012-09-05, 16:25)sdsnyr94 Wrote: If I load a version of Eden (windows or Linux).. everything works. So the million dollar question is : Is Advanced Launcher not Frodo ready yet, and is there a timeframe of when it will be?

Unfortunately, I needed some of the fixes that are in the pre-frodo builds on my ION XBMCbuntu unit, and it upgraded my database... so I need to stay frodo on my Windows unit.
No Frodo support yet. Advanced Launcher will be Frodo "ready" when the RC Frodo versions of XBMC will be available. The really million dollar question is "Advanced Launcher does not work on XBMC Frodo because : Advanced Launcher is not ready or because Frodo still unstable, bugged and into development? Wink

Well, when you have a test build you would like to try I will be more than happy to test it out. The things I would like to launch will be Mythtv-frontend (to edit commercials from recordings) , Emulators, and Steam games.

Thanks for the quick reply.
I have investigated on your problem and it is actually a tracked Frodo bug : https://github.com/xbmc/xbmc/pull/1281



RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Maleficium - 2012-09-10

Hi there,

I was trying to download the back covers of the games also but it become a difficult task to do manually for some amount of games. There's some way to tweak the GameFAQ scrapper to download the backs instead the front covers ?

Thanks for any help.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - sdsnyr94 - 2012-09-10

(2012-09-09, 03:27)Angelscry Wrote:
(2012-09-05, 17:36)sdsnyr94 Wrote:
(2012-09-05, 17:11)Angelscry Wrote: No Frodo support yet. Advanced Launcher will be Frodo "ready" when the RC Frodo versions of XBMC will be available. The really million dollar question is "Advanced Launcher does not work on XBMC Frodo because : Advanced Launcher is not ready or because Frodo still unstable, bugged and into development? Wink

Well, when you have a test build you would like to try I will be more than happy to test it out. The things I would like to launch will be Mythtv-frontend (to edit commercials from recordings) , Emulators, and Steam games.

Thanks for the quick reply.
I have investigated on your problem and it is actually a tracked Frodo bug : https://github.com/xbmc/xbmc/pull/1281

Thanks. Looks like I will be monitoring that for a while, and if a fix gets posted I will test it.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-09-11

(2012-09-10, 18:07)Maleficium Wrote: Hi there,

I was trying to download the back covers of the games also but it become a difficult task to do manually for some amount of games. There's some way to tweak the GameFAQ scrapper to download the backs instead the front covers ?

Thanks for any help.
I could try to modify the GAMEFAQ scraper to allow to display front and back covers into the same result list. Do you want to use this covers as thumbs or fanarts?




RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-09-11

(2012-09-11, 02:38)Angelscry Wrote:
(2012-09-10, 18:07)Maleficium Wrote: Hi there,

I was trying to download the back covers of the games also but it become a difficult task to do manually for some amount of games. There's some way to tweak the GameFAQ scrapper to download the backs instead the front covers ?

Thanks for any help.
I could try to modify the GAMEFAQ scraper to allow to display front and back covers into the same result list. Do you want to use this covers as thumbs or fanarts?
I do not plan to add back covers support into Advanced Launcher. Actually no skins support it, that's not really the goal of Advanced Launcher to collecting/display game stuff nd is it not really into the spirit of XBMC to dislay back covers for items. If you really need use/manage back covers under XBMC you can use RCB that support it.

BTW, if you really need to scrap back covers with Advanced launcher you can manually modify the Gamefaq scraper python file : /xbmc/addons/plugin.program.advanced.launcher/resources/scrapers/thumbs/GameFAQs/thumbs_scraper.py and replace :

Code:
# Get Thumbnail scrapper
def _get_thumbnail(image_url):
    images = []
    try:
        search_page = urllib.urlopen('http://www.gamefaqs.com' + image_url)
        for line in search_page.readlines():
            if 'Game Box Shot' in line:
                images = re.findall('g"><a href="(.*?)"><img class="full_boxshot" src="(.*?)"', line)
                print images[0][0]
                return images[0][0]
    except:
        return ""

by :

Code:
# Get Thumbnail scrapper
def _get_thumbnail(image_url):
    images = []
    try:
        search_page = urllib.urlopen('http://www.gamefaqs.com' + image_url)
        for line in search_page.readlines():
            if 'Game Box Shot' in line:
                images = re.findall('t" /><a href="(.*?)"><img class="full_boxshot" src="(.*?)"', line)
                print images[0][0]
                return images[0][0]
    except:
        return ""

Then into the thumb selection you will still see front covers, but it will be the back cover image that will be downloaded (there is now back cover thumb preview into GameFAQ website).







RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Maleficium - 2012-09-11

(2012-09-11, 03:06)Angelscry Wrote:
(2012-09-11, 02:38)Angelscry Wrote:
(2012-09-10, 18:07)Maleficium Wrote: Hi there,

I was trying to download the back covers of the games also but it become a difficult task to do manually for some amount of games. There's some way to tweak the GameFAQ scrapper to download the backs instead the front covers ?

Thanks for any help.
I could try to modify the GAMEFAQ scraper to allow to display front and back covers into the same result list. Do you want to use this covers as thumbs or fanarts?
I do not plan to add back covers support into Advanced Launcher. Actually no skins support it, that's not really the goal of Advanced Launcher to collecting/display game stuff nd is it not really into the spirit of XBMC to dislay back covers for items. If you really need use/manage back covers under XBMC you can use RCB that support it.

BTW, if you really need to scrap back covers with Advanced launcher you can manually modify the Gamefaq scraper python file : /xbmc/addons/plugin.program.advanced.launcher/resources/scrapers/thumbs/GameFAQs/thumbs_scraper.py and replace :

Code:
# Get Thumbnail scrapper
def _get_thumbnail(image_url):
    images = []
    try:
        search_page = urllib.urlopen('http://www.gamefaqs.com' + image_url)
        for line in search_page.readlines():
            if 'Game Box Shot' in line:
                images = re.findall('g"><a href="(.*?)"><img class="full_boxshot" src="(.*?)"', line)
                print images[0][0]
                return images[0][0]
    except:
        return ""

by :

Code:
# Get Thumbnail scrapper
def _get_thumbnail(image_url):
    images = []
    try:
        search_page = urllib.urlopen('http://www.gamefaqs.com' + image_url)
        for line in search_page.readlines():
            if 'Game Box Shot' in line:
                images = re.findall('t" /><a href="(.*?)"><img class="full_boxshot" src="(.*?)"', line)
                print images[0][0]
                return images[0][0]
    except:
        return ""

Then into the thumb selection you will still see front covers, but it will be the back cover image that will be downloaded (there is now back cover thumb preview into GameFAQ website).

Thank you very much Angelscry.

I understand the goal of Advanced Launcher, and I understand your point. Probably most users don't need/use the back covers either.

Thanks for the code, I'll try to use it when Advanced Launcher finish the job its doing now Smile


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-09-11

Other thing you can do is to duplicate the /xbmc/addons/plugin.program.advanced.launcher/resources/scrapers/thumbs/GameFAQs directory and rename it like GameFAQsBack. Then you just have to edit the /xbmc/addons/plugin.program.advanced.launcher/resources/scrapers/thumbs/GameFAQsBack/thumbs_scraper.py file as described below. Then into Advanced launcher you will be automatically able to select between GameFAQs and GameFAQsBack thumbs scraper. The first one will download front covers and the second one will download back covers, It will be more simple for you to switch from one mode to the other.

Then in a current use create two different directory : one for front covers and the other one for back covers. Select GameFAQs scraper and define the front covers directory as thumbs directory.... Scrap.
Select GameFAQsBack scraper and define the back covers directory as thumbs directory.... then Scrap. So front and back covers will be automatically saved into different directories.




RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Maleficium - 2012-09-11

Thank you so much. I tested it and it worked.

Now was trying to make it perfect, front to Thumbs and back to FanArt. I tryed to edit fanarts_scraper.py but I didn't found the trick, any help are welcome Smile

Thanks once again.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-09-12

(2012-09-11, 20:37)Maleficium Wrote: Thank you so much. I tested it and it worked.

Now was trying to make it perfect, front to Thumbs and back to FanArt. I tryed to edit fanarts_scraper.py but I didn't found the trick, any help are welcome Smile

Thanks once again.
It will be completly different, because functions called to scrap thumbs and fanarts do no have the same name.




RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-09-12

(2012-09-12, 03:36)Angelscry Wrote:
(2012-09-11, 20:37)Maleficium Wrote: Thank you so much. I tested it and it worked.

Now was trying to make it perfect, front to Thumbs and back to FanArt. I tryed to edit fanarts_scraper.py but I didn't found the trick, any help are welcome Smile

Thanks once again.
It will be completly different, because functions called to scrap thumbs and fanarts do no have the same name.
Ok... I have found a way. Just download this file (http://code.google.com/p/xbmc-advanced-launcher/downloads/detail?name=gamefaqs.fanart.back.covers.zip) and extract the GameFAQs_Back_Covers directory and its content into xbmc/addons/plugin.program.advanced.launcher/resources/scrapers/fanarts directory. Then you will have a new fanart scraper named GameFAQs_Back_Covers that will download back covers as fanarts.