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


- fr500 - 2011-01-14

Kudos!!! awesome will test and report any issues Big Grin


- ShockViper - 2011-01-14

Angelscry Wrote:Add "import plot from text file" option: Because there is no simply way to edit long texts directly from XBMC and because scrapers will never be able to report the plot for all games, this option will give you the possibility to import any common text files as game plot information. I think this option could be improved (I'm not totally satisfied). If you have any suggestion or a better idea, do not hesitate to share.

Can you make something like NFO files for video where all the information will be stored like plot, genre, publisher etc.


- Angelscry - 2011-01-14

ShockViper Wrote:Can you make something like NFO files for video where all the information will be stored like plot, genre, publisher etc.
What is the interest of using NFO files when you can :
  • automatically scrap games infos from Internet,
  • manually edit all games infos directly from XBMC,
  • and manually edit the launchers.xml file which contain all the games infos?



- ECEC - 2011-01-14

How are people handling 7zip files right now? I set up Nestopia yesterday, and every time it attempted to open a game it prompted for which game in the archive to open. This would be fine if I could get the remote/gamepad to interace with Nestopia, but I couldn't get that working.

Alternatively, I'm open to just extracting the US release from each 7zip file and simply deleting the rest. I just don't want to do it manually for each file.


- joelones - 2011-01-14

I'm trying to change a thumbnail via the addon and the addon.py script is failing. This is the error message and seems like a smb thing.

Code:
ERROR: "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/addon.py", line 20, in ?
                                                plugin.Main()
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 133, in __init__
                                                self._edit_rom(os.path.dirname(launcher), os.path.basename(launcher))
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 257, in _edit_rom
                                                self._scrap_thumb_rom(launcher,rom)
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 318, in _scrap_thumb_rom
                                                _update_cache(img_url,file_path)
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 1613, in _update_cache
                                                shutil.copy2( file_path , cached_thumb )
                                              File "/usr/lib/xbmc/system/python/python24.zip/shutil.py", line 93, in copy2
                                                copystat(src, dst)
                                              File "/usr/lib/xbmc/system/python/python24.zip/shutil.py", line 68, in copystat
                                                os.utime(dst, (st.st_atime, st.st_mtime))
                                            OSError: (1, 'Operation not permitted', '/home/xbmc/.xbmc/userdata/Thumbnails/f/ff216be2.jpg')

(sorry for the indentation)

The thumbnail directory is on a smb share and mounted as:

Code:
//server/xbmc/Thumbnails /home/xbmc/.xbmc/userdata/Thumbnails cifs credentials=/home/xbmc/.credentials,_netdev,file_mode=0777,dir_mode=0777 0 0

The xbmc user has write permission in the share, not quite sure what's going on as I assume the script runs as the current user (xbmc). There should be no error.


- Angelscry - 2011-01-14

joelones Wrote:I'm trying to change a thumbnail via the addon and the addon.py script is failing. This is the error message and seems like a smb thing.

Code:
ERROR: "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/addon.py", line 20, in ?
                                                plugin.Main()
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 133, in __init__
                                                self._edit_rom(os.path.dirname(launcher), os.path.basename(launcher))
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 257, in _edit_rom
                                                self._scrap_thumb_rom(launcher,rom)
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 318, in _scrap_thumb_rom
                                                _update_cache(img_url,file_path)
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 1613, in _update_cache
                                                shutil.copy2( file_path , cached_thumb )
                                              File "/usr/lib/xbmc/system/python/python24.zip/shutil.py", line 93, in copy2
                                                copystat(src, dst)
                                              File "/usr/lib/xbmc/system/python/python24.zip/shutil.py", line 68, in copystat
                                                os.utime(dst, (st.st_atime, st.st_mtime))
                                            OSError: (1, 'Operation not permitted', '/home/xbmc/.xbmc/userdata/Thumbnails/f/ff216be2.jpg')

(sorry for the indentation)

The thumbnail directory is on a smb share and mounted as:

Code:
//server/xbmc/Thumbnails /home/xbmc/.xbmc/userdata/Thumbnails cifs credentials=/home/xbmc/.credentials,_netdev,file_mode=0777,dir_mode=0777 0 0

The xbmc user has write permission in the share, not quite sure what's going on as I assume the script runs as the current user (xbmc). There should be no error.
Hummm... Yes strange. This error occurs when the Advanced Launcher try to replace the XBMC cached thumbnail image with the new selected image using this command : "(shutil.copy2( file_path , cached_thumb )". file_path is the path of the selected image and cached_thumb is the path of the cached thumbnails image. I do not think it is related to permission access problem because XBMC must have access to its proper cache folder. I'm going to investigate on the shutil.copy2 python command. Maybe it is not compatible with smb shares. Do you have the same problem if the thumbnails directory is local? Thank you for your feedback.


- joelones - 2011-01-14

Thanks Angelscry for looking into this. No, I don't have this problem if I grab a local thumbnail jpg.

The reason for this setup is obviously due to running a shared library for videos and running multiple xbmc clients connecting to the same db. Had to move the thumbnails from the local client to my remote server running mysql to properly see the thumbnails on both clients.

EDIT: Actually the problem is a lot worse. The plan was to put all the roms on my share via the same method (using smb) as above with the thumbnails. Having tried one rom on the share and having zsnes bail when trying to play the rom has lead me to believe this is not best solution. Perhaps I'm doing something wrong?

Has anyone been able to play roms from a share instead of storing all roms local? Specifically via smb?

Thanks


- tco42 - 2011-01-14

Hey Angelscry
i tried to manually add the blabla action199 lines as well as using the new dont minimize XBMC option. Unfortunatelly both did not work for me. If i choose dont minimize XBMC changes from fake fullscreen (window) to a smaller window but then goes into tray. Without minimizing XBMC instantly goes into tray. Starting DVBviewer or other programs works perfekt, XBMC also comes back to fake fullscreen after closing the programs.

When i hit the windows key while in XBMC only the taskbar shows up while XBMC stays in background. Starting DVBviewer from the startmenu also work perfekt! XBMC stays in background all the time --> noone can see my desktop while switching from XBMC to DVBviewer...

Is there any chance to stop XBMC from going into tray when using the Launcher?


EDIT: found someone with the same problem using external players in his playercorefactory.xml. The solution for this problem was to simply edit <hidexbmc>true</hidexbmc> to false. Do you know the python command that hides XBMC?


- Sebastatu - 2011-01-14

[quote=Angelscry]This add-on is based on the original leo2's Launcher plugin which was able to launch Linux and Windows applications from within the XBMC GUI. This add-on add the possibility, for games and emulators mostly oriented users, to get and store informations and images for games from several Internet games databases. The add-on has been actually tested and working under XBMC 10.4 (Dharma beta4).

Image Image Image Image Image

Home Page : http://code.google.com/p/xbmc-advanced-launcher/
Repository : repository.angelscry.xbmc-plugins.1.2.0.zip

User Manual : http://code.google.com/p/xbmc-advanced-launcher/wiki/Instructions
XBMC Emulators Wiki : http://www.gwenael.org/xbmc/index.php

Addon Features:
  • Run Windows, Linux and OSX applications and emulators with auto-suggested arguments.
  • Start any game from specified directory using selected emulator.
  • Collect information of applications and games using AllGame, GameFAQs, MobyGames and MAWS databases (auto/manual).
  • Collect images of applications and games using GameFAQs, MobyGames, MAWS and Google Images search engines (auto/manual).
  • Scan option for new added games (with image and information auto-collect).
  • Add, remove and edit options of applications and games directly form XBMC
  • Complete MAME games support (data and images).
  • Search applications and games by name.

Nice work. is it possible for you to name the skins you are using on the images from this post from left to right, please. I can't recognize them all. Also. How do you get game info to display on them. Mine do not show any info other than the name. Sad.. Thanks man.


- fr500 - 2011-01-15

Most skins won't show anything but icon/thumb out of the box. Are you working on a skin? If not, what skin are you using now?


- Sebastatu - 2011-01-15

Any skin I use.. like the ones showing on initial post shows info. I'm using shade and it does not show anything but the icon and name..does not show any info like the picture above....


- Angelscry - 2011-01-15

joelones Wrote:EDIT: Actually the problem is a lot worse. The plan was to put all the roms on my share via the same method (using smb) as above with the thumbnails. Having tried one rom on the share and having zsnes bail when trying to play the rom has lead me to believe this is not best solution. Perhaps I'm doing something wrong?

Has anyone been able to play roms from a share instead of storing all roms local? Specifically via smb? Thanks
I think your problem is related to the manner you try to access your smb server from your system. If the paths you use to access your server are network paths like this :
Code:
smb://server/emulation/nes/roms/zelda.zip
or
//192.168.2.3/server/emulation/nes/roms/zelda.zip
it will create errors because most of the emulators do not recognize network paths into their command line. For the same reason the shutil.copy2 python function is not able to copy a file from the network path to a local path.

To solve this, you have to automatically assign to your server a local path. You can do this under Linux by mounting you server into the /mnt/ directory for example. In the same manner, if your are under Windows, you will have to assign a drive letter to your network server. So the paths to acces your server will be :
Code:
/mnt/netserver/emulation/nes/roms/zelda.zip
or
M:\\emulation\nes\roms\zelda.zip
With paths under these forms you will have no more problem. Wink


- fr500 - 2011-01-15

Sebastatu Wrote:Any skin I use.. like the ones showing on initial post shows info. I'm using shade and it does not show anything but the icon and name..does not show any info like the picture above....

I did the mod for shade, you need to change some files, go here I'll help you Big Grin

http://forum.xbmc.org/showthread.php?p=670862#post670862


- ingeon - 2011-01-15

I like the advanced launcher cause it simply works.
What is a bit of trouble is that title/image scraping takes to much effort,
so either I`m doing it wrong or the automation isn`t as I would like it.
So let me go through it: This might seem like a long post but imagine adding many many apps
and having to click things many many times
:o

1. 'Create new launcher'
2. 'Standalone (normal PC executable)'
3. Select my C:\games\batman\bmstartapp.exe
4. leave 'Application arguments' blank
5. Rename to Batman Arkham Assylum
6. Select 'IBM PC Compatible'
7. Select the Thumbnail and Fanart folder destination it requires C:\games\_launcher icons.
(It would be nice if there was an option under Add-on settings for selecting a folder with all these in and their
images in each according to platform and use that as default) since it gets rather tedious selecting it manually every time

8. Right click my newly created launcher 'Edit Launcher' and 'Modify Datas/Infos'
9. 'Import Infos from AllGame/GameFAQs/MobyGames/MAMEWorld'. Select Batman: Arkham Asylum / IBM PC Compatible
(now it would be nice if one is connected to the internet to have this automated directly after step 7)
since most/all games are/should be in that list, if not then just skip if required.
If it does not find it in your preferred scraper that it would then continue to the next until it finds the selected title)
Now I already selected IBM PC compatible and it still brings up 3 other platforms? Perhaps if one struggles to find a title then go there
since some titles are difficult to find since they were made for many platforms and that becomes a massive list.

10. Now every-time one edits a new launcher and you want to move to the next line it throws you all the way back to root
instead of allowing to complete all the lines in "edit Launcher"

11. 'Change thumbnail image' 'Import image from AllGame/GameFAQs/MobyGames/MAMEWorld : All covers' Now it asks the title again?
Also get 'Error Script failed : addon.py' many times and then scrapes nothing.
(Now Advanced Launcher know`s exactly what title/game system I have selected and I want it to automatically scrape the thumbs&fanart)

12. 'Change Fanart Image' The same as 11.

I am currently on version 0.9.5.
All my files are currently on my local machine.

I also have a issue but this I believe might be an XBMC thing.
I have a dual monitor output. Under System in XBMC I always run XBMC on
'Full screen #2' and 'Use fullscreen windows rather than true fullscreen' is selected
but when exiting the program it throws XBMC to a window on Fullscreen #1.
What is the reason for this?

I know it might have been asked before but any chance for scraping from http://thevideogamedb.com & http://thegamesdb.net in future?


- Robert de Clair - 2011-01-15

Polish r252 http://www.mediafire.com/?2mas4d1hdc66xus