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
gollumscave Wrote:- Start the launcher
- Launcher asks for moviename
- Launcher creates folder with the name user has input
- Launcher starts the program with the arguments
- Launcher sends msg to xbmc console: rip successfully completed

Is any of this possible with the advancedlauncher? Or do any of you guys have an idea on how to achieve this?
Perhaps with a script? (have 0 experience in scripting)
Unfortunately, it's not possible to do this using Advanced Launcher. With Advanced Launcher, once the launcher is started you do not have any interaction with XBMC (like to ask for moviename) until the started application is closed. The only way I see to perform this is to create a program addon specifically dedicated to this.
Ok thanks for the reply anyway...

A program add-on.... Could you perhaps kick me in the right direction a bit?
I use Advanced Launcher to launch websites (i.e. some bookmarks) from XBMC (explained earlier here). Works fine.

But how can I sort by links? For example I want to have my link to google as my first link on the list. Is it possible?

Editing the launchers.xml manually (shifting the "rom"-entries did not work so far...).

Thanks!
Parker_Payne Wrote:I use Advanced Launcher to launch websites (i.e. some bookmarks) from XBMC (explained earlier here). Works fine.

But how can I sort by links? For example I want to have my link to google as my first link on the list. Is it possible?

Editing the launchers.xml manually (shifting the "rom"-entries did not work so far...).

Thanks!
Items (in your case, links) are automatically sorted alphanumerically by XBMC using their name (like for movies, tv shows, etc...). There is not really possibility to put the items into a specific order manually. No
I have been organizing my emulators and I noticed that with the MobyGames scraper for fanart the first few images are usually the title screen and in-game shots are usually after so I go this idea on another option for the scraper:

- Under Fanart Scraper, A drop down for what to try to get (Title or In-Game)
- If it is title, then get the first shot like it does now
- If it is in-game, take the total shots and divide by 2 to get the middle and download that one (ex: 15 screens /2 = 7.5, rounded is 8 - download screen 8)

If you're ever looking for something to do.. Wink
Banditt Wrote:I have been organizing my emulators and I noticed that with the MobyGames scraper for fanart the first few images are usually the title screen and in-game shots are usually after so I go this idea on another option for the scraper:

- Under Fanart Scraper, A drop down for what to try to get (Title or In-Game)
- If it is title, then get the first shot like it does now
- If it is in-game, take the total shots and divide by 2 to get the middle and download that one (ex: 15 screens /2 = 7.5, rounded is 8 - download screen 8)

If you're ever looking for something to do.. Wink
I have to take a look if it is simple to implement into Advanced Launcher without affecting all the other scrapers. Beacause this function will not be implemented into scraper modules but into the Advanced Launcher core code.
Version 1.6.6 : This new version of Advanced Launcher add a new feature for fanarts automatic scans. It add the possibility to semi-select which fanart images (first, half or last) the scraper will automatically get from the returned fanarts list. With some scrapers (like MAWS or MobyGames) it will allows to select between game title image (generally the first) versus other game images (other fanarts). Thank you to Banditt for the idea. This version also improve the compatibility under pre-Eden version of XBMC.

Image

Changelog:
  • Eden version compatibility.
  • Add fanart semi-selection for automatic scans.
Hi,

I need to be able to change gateways and then restart the networking service.
I usually just run a script from a console terminal, but I will like to be able to just use the gui (makes it kid friendly Smile ).

I can't seem to be able to get AL to run the script...

The script itself is tiny - just 2 lines

Code:
cp /etc/init.d/interfaces.mu /etc/init.d/interfaces
/etc/init.d/networking restart

This allows me to use different Vpn's for country specific scripts.

What am doing wrong (or what do I need to do just to run a script...)?

Thanks
tinybilbo Wrote:Hi,

I need to be able to change gateways and then restart the networking service.
I usually just run a script from a console terminal, but I will like to be able to just use the gui (makes it kid friendly Smile ).

I can't seem to be able to get AL to run the script...

The script itself is tiny - just 2 lines

Code:
cp /etc/init.d/interfaces.mu /etc/init.d/interfaces
/etc/init.d/networking restart

This allows me to use different Vpn's for country specific scripts.

What am doing wrong (or what do I need to do just to run a script...)?

Thanks
Could be a lot of reasons but not related to Advanced Launcher. First, your script must start by :
Code:
#!/bin/bash
Secondly, the XBMC user must have the rights to execute the script. And finally the XBMC user must have the rights to write into the /etc/init.d/ directory and restart the networking service. Normally, by default, only the root user is allowed to do this.
Angelscry Wrote:Could be a lot of reasons but not related to Advanced Launcher. First, your script must start by :
Code:
#!/bin/bash
Secondly, the XBMC user must have the rights to execute the script. And finally the XBMC user must have the rights to write into the /etc/init.d/ directory and restart the networking service. Normally, by default, only the root user is allowed to do this.

Thanks for the reply,
I have tried the script with and without the !/bin/bash line,
I have also tried different permissions.
I think you are about the XBMC not having the rights, because normally I run it from a Console, logged in as root.
I'll get a script running from console, logged in as XBMC, the try AL again...
tinybilbo Wrote:Thanks for the reply,
I have tried the script with and without the !/bin/bash line,
I have also tried different permissions.
I think you are about the XBMC not having the rights, because normally I run it from a Console, logged in as root.
I'll get a script running from console, logged in as XBMC, the try AL again...
Best waywill be to create a script like this :
Code:
#!/bin/bash
sudo cp /etc/init.d/interfaces.mu /etc/init.d/interfaces
sudo /etc/init.d/networking restart
Then give execution rights to this script to the xbmc user.
Then, to avoid to be asked for passwords each time the user XBMC use the sudo command into the script, you will have to edit the /etc/sudoers files (using sudo viduso) and add the following lines at the end :
Code:
%xbmc ALL = NOPASSWD: cp
%xbmc ALL = NOPASSWD: /etc/init.d/networking
It may works.... Nerd
I'm having a problem where the ROMs will not auto scan over a network. I have two separate XBMC installations and the ROM folder is on a shared folder (full read/write permissions) on one of the computers. On the computer with the folder I can auto scan the ROMs fine, but the other computer always returns with 0 ROMs found. I only noticed this problem since I installed Pre-Eden.

Here is the log where I created a new launcher and tried to auto scan for ROMs:

Code:
16:14:15 T:5512 WARNING: Trying to add unsupported control type 3
16:14:26 T:5512 WARNING: Previous line repeats 7 times.
16:14:26 T:5512   ERROR: unmatched parentheses in IntegerGreaterThan(Container(9).NumItems),0)
16:15:06 T:5512 WARNING: Trying to add unsupported control type 3
16:15:06 T:5336 WARNING: Previous line repeats 7 times.
16:15:06 T:5336 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
16:15:08 T:5760  NOTICE: -->Python Interpreter Initialized<--
16:15:08 T:5760  NOTICE: ERROR: Main::get_xml_source (1198) - [Errno 2] No such file or directory: 'C:\\Users\\ArcAnjel\\AppData\\Roaming\\XBMC\\userdata\\addon_data\\plugin.program.advanced.launcher\\launchers.xml'
16:15:08 T:5760  NOTICE: Launcher: found 0 launchers
16:15:10 T:5760 WARNING: Trying to add unsupported control type 3
16:15:57 T:7756 WARNING: Previous line repeats 11 times.
16:15:57 T:7756  NOTICE: -->Python Interpreter Initialized<--
16:15:57 T:7756  NOTICE: Launcher: found 1 launchers
16:16:01 T:6624  NOTICE: -->Python Interpreter Initialized<--
16:16:01 T:6624  NOTICE: Launcher: found 1 launchers
16:16:01 T:6624  NOTICE: Launcher: 72f44bc7d64a160f048846682e80f3e7 : found 0 roms
16:16:01 T:5512   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.advanced.launcher/?72f44bc7d64a160f048846682e80f3e7
16:16:01 T:5512   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.advanced.launcher/?72f44bc7d64a160f048846682e80f3e7) failed
16:16:01 T:7892  NOTICE: -->Python Interpreter Initialized<--
16:16:02 T:7892  NOTICE: Launcher: found 1 launchers
16:16:05 T:6160  NOTICE: -->Python Interpreter Initialized<--
16:16:05 T:6160  NOTICE: Launcher: found 1 launchers
16:16:07 T:5512 WARNING: Trying to add unsupported control type 3
16:16:08 T:7608 WARNING: Previous line repeats 7 times.
16:16:08 T:7608  NOTICE: -->Python Interpreter Initialized<--
16:16:08 T:7608  NOTICE: Launcher: found 1 launchers
16:16:09 T:5512 WARNING: Trying to add unsupported control type 3
16:16:09 T:7388 WARNING: Previous line repeats 7 times.
16:16:09 T:7388  NOTICE: -->Python Interpreter Initialized<--
16:16:09 T:7388  NOTICE: Launcher: found 1 launchers
16:16:09 T:7388  NOTICE: Launcher: 72f44bc7d64a160f048846682e80f3e7 : found 0 roms
16:16:09 T:5512   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.advanced.launcher/?72f44bc7d64a160f048846682e80f3e7
16:16:09 T:5512   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.advanced.launcher/?72f44bc7d64a160f048846682e80f3e7) failed
16:16:16 T:5512   ERROR: Control 1 in window 10099 has been asked to focus, but it can't

Any help you can offer is awesome!
ArcAnjel Wrote:I'm having a problem where the ROMs will not auto scan over a network. I have two separate XBMC installations and the ROM folder is on a shared folder (full read/write permissions) on one of the computers. On the computer with the folder I can auto scan the ROMs fine, but the other computer always returns with 0 ROMs found. I only noticed this problem since I installed Pre-Eden.

Here is the log where I created a new launcher and tried to auto scan for ROMs:

Code:
16:14:15 T:5512 WARNING: Trying to add unsupported control type 3
16:14:26 T:5512 WARNING: Previous line repeats 7 times.
16:14:26 T:5512   ERROR: unmatched parentheses in IntegerGreaterThan(Container(9).NumItems),0)
16:15:06 T:5512 WARNING: Trying to add unsupported control type 3
16:15:06 T:5336 WARNING: Previous line repeats 7 times.
16:15:06 T:5336 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
16:15:08 T:5760  NOTICE: -->Python Interpreter Initialized<--
16:15:08 T:5760  NOTICE: ERROR: Main::get_xml_source (1198) - [Errno 2] No such file or directory: 'C:\\Users\\ArcAnjel\\AppData\\Roaming\\XBMC\\userdata\\addon_data\\plugin.program.advanced.launcher\\launchers.xml'
16:15:08 T:5760  NOTICE: Launcher: found 0 launchers
16:15:10 T:5760 WARNING: Trying to add unsupported control type 3
16:15:57 T:7756 WARNING: Previous line repeats 11 times.
16:15:57 T:7756  NOTICE: -->Python Interpreter Initialized<--
16:15:57 T:7756  NOTICE: Launcher: found 1 launchers
16:16:01 T:6624  NOTICE: -->Python Interpreter Initialized<--
16:16:01 T:6624  NOTICE: Launcher: found 1 launchers
16:16:01 T:6624  NOTICE: Launcher: 72f44bc7d64a160f048846682e80f3e7 : found 0 roms
16:16:01 T:5512   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.advanced.launcher/?72f44bc7d64a160f048846682e80f3e7
16:16:01 T:5512   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.advanced.launcher/?72f44bc7d64a160f048846682e80f3e7) failed
16:16:01 T:7892  NOTICE: -->Python Interpreter Initialized<--
16:16:02 T:7892  NOTICE: Launcher: found 1 launchers
16:16:05 T:6160  NOTICE: -->Python Interpreter Initialized<--
16:16:05 T:6160  NOTICE: Launcher: found 1 launchers
16:16:07 T:5512 WARNING: Trying to add unsupported control type 3
16:16:08 T:7608 WARNING: Previous line repeats 7 times.
16:16:08 T:7608  NOTICE: -->Python Interpreter Initialized<--
16:16:08 T:7608  NOTICE: Launcher: found 1 launchers
16:16:09 T:5512 WARNING: Trying to add unsupported control type 3
16:16:09 T:7388 WARNING: Previous line repeats 7 times.
16:16:09 T:7388  NOTICE: -->Python Interpreter Initialized<--
16:16:09 T:7388  NOTICE: Launcher: found 1 launchers
16:16:09 T:7388  NOTICE: Launcher: 72f44bc7d64a160f048846682e80f3e7 : found 0 roms
16:16:09 T:5512   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.advanced.launcher/?72f44bc7d64a160f048846682e80f3e7
16:16:09 T:5512   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.advanced.launcher/?72f44bc7d64a160f048846682e80f3e7) failed
16:16:16 T:5512   ERROR: Control 1 in window 10099 has been asked to focus, but it can't

Any help you can offer is awesome!
Please, can you also post the content of your launchers.xml file? I need it to see your launcher configuration and try to understand what happen here... Thank you Wink
Thanks for helping me out with this. Here is the launcher.xml from path "C:\Users\[UserNameHidden]\AppData\Roaming\XBMC\userdata\addon_data\plugin.program.advanced.launcher"

Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<launchers>
    <launcher>
        <id>72f44bc7d64a160f048846682e80f3e7</id>
        <name>NES</name>
        <application>smb://Mediacenter/Games/NES/Emulator/fceux/fceux.exe</application>
        <args>"%rom%"</args>
        <rompath>smb://Mediacenter/Games/NES/</rompath>
        <thumbpath>smb://Mediacenter/Games/NES/Thumbs/</thumbpath>
        <fanartpath>smb://Mediacenter/Games/NES/Fanart/</fanartpath>
        <extrafanartpath>smb://Mediacenter/Games/NES/Fanart/</extrafanartpath>
        <romext>nes|zip</romext>
        <platform>Nintendo Entertainment System</platform>
        <thumb></thumb>
        <fanart></fanart>
        <genre></genre>
        <release></release>
        <publisher></publisher>
        <launcherplot></launcherplot>
        <minimize>true</minimize>
        <lnk>true</lnk>
        <roms>
        </roms>
    </launcher>
</launchers>
ArcAnjel Wrote:Thanks for helping me out with this. Here is the launcher.xml from path "C:\Users\[UserNameHidden]\AppData\Roaming\XBMC\userdata\addon_data\plugin.program.advanced.launcher"
Samba paths are not supported by most of the Windows emulators and applications into there command lines. So what's why Advanced Launcher do not support them (no interest) and that you are not able to access them. You can bypass this by mounting locally your external drive (aka. assign it a drive letter).
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