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


Version 2.5.7 - Angelscry - 2014-09-14

Version 2.5.7 : This new version of Advanced Launcher fix a bug bring by the version 2.5.4 concerning audio suspdending. This is most a rollback than a real fix.
Changelog :
  • Rollback suspend audio feature bring by version 2.5.4.



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

(2014-09-14, 16:31)fabeer Wrote: Is there any possibility to do all the scan on xbmc on my computer,and then transfer files to my android box? my roms are stocked on a hdd usb.If yes,can you plz explain the details plz?
It will be quite complicated. Because your Android system and your Computer system do not work at all the same way. Applications and file paths are totally differents. This is how you could proceed :
  • First copy past the launchers.xml file located on your computer into your Android system.
  • For each files launcher, export items infos (name, description, date, etc... ) to NFO files (automatic).
  • Into Advanced Launcher, on your Android system import the saved launcher.xml file (Add-on settings > Advanced > Append XML file)
  • For each launcher, manually correct the application path and argument. Also, manually correct the thumb and fanart paths.
  • For each files launcher, manually correct manually correct the items, thumb and fanart paths.
  • Set scrapers collecting method to NFO Files (for data) and local images (for thumb and fanart).
  • For each files launcher, clear items list then scan for new items.



RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - fabeer - 2014-09-14

(2014-09-13, 22:27)Angelscry Wrote:
(2014-09-11, 13:05)fabeer Wrote: Hello guys and thx for the hard work

I'm trying to make it work on my minix x7,4.4.2 rom rooted and using spmc

I have the error message "cannot create launcher.xml file" and "cannot create backup file"
when searching for new objects..any idea whats wrong plz?

thx a lot
It surely an XBMC/Advanced Launcher bug, but I'm not able to fix it by myself.

Anyone or section in the forum where we might ask for help?...sorry to insist like this,but your add on is for me the best for emulators on android,and want it to work so bad...


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - bleakassassin - 2014-09-14

Thanks for the quick fix Angelscry! Advanced Launcher has been an incredibly helpful add-on for pretty much everything that XBMC won't natively do.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - MrBlack13 - 2014-09-15

Is there any way to launch (play) a playlist automatically?

For example, I have a Random Seinfeld playlist. I added it to favorites so that I could add it to Adv. Launcher, but all that does take me to the playlist. I was hoping there was a way to set it so that it would just start playing the first entry on the playlist instead of opening it up.

Thanks!


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

If there is a command into XBMC that allow you to start and play a playlist, it would be possible to launch this command internally or externally (by using script) using Advanced Launcher.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - MrBlack13 - 2014-09-16

(2014-09-15, 16:15)Angelscry Wrote: If there is a command into XBMC that allow you to start and play a playlist, it would be possible to launch this command internally or externally (by using script) using Advanced Launcher.

Thanks. I found this script, but at this point, the whole thing is over my head. I really can't believe that someone wouldn't want a simple way to randomly play (one click) a specific playlist, but I guess I'm wrong because I can't find where anyone had done it.

http://forum.xbmc.org/showthread.php?tid=69797


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - markaisi - 2014-09-19

Check lazy tv addon. It may be what you are looking for.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - MrBlack13 - 2014-09-20

(2014-09-19, 05:10)markaisi Wrote: Check lazy tv addon. It may be what you are looking for.

Thanks. I have LazyTV, but the thing that makes it what people want (watch the next episode of the random show you just watched) isn't what I am looking for. The smart playlist takes care of the order, its just the cumbersome use of 3+ clicks to do something that could be done with one.

Right now, i am using Aeon MQ and have playlists mapped to my sub menu. I would be great to just select the sub menu icon hand have the first thing in the playlist play.

I guess its out there because skins do it with widgets, I just can't find a program that will do it.


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

(2014-09-16, 17:39)MrBlack13 Wrote:
(2014-09-15, 16:15)Angelscry Wrote: If there is a command into XBMC that allow you to start and play a playlist, it would be possible to launch this command internally or externally (by using script) using Advanced Launcher.

Thanks. I found this script, but at this point, the whole thing is over my head. I really can't believe that someone wouldn't want a simple way to randomly play (one click) a specific playlist, but I guess I'm wrong because I can't find where anyone had done it.

http://forum.xbmc.org/showthread.php?tid=69797
I have found 2 ways to do it...

First Method:

Into XBMC, add your playlist to favourites. Then, into Advanced Launcher create a favourite launcher of this playlist. Next, into the favourite launcher context menu ("C" key), go into Edit Launcher > Advanced Modifications > Modify Arguments and edit the value from this :

Code:
ActivateWindow(10502,"special://profile/playlists/music/Test.m3u",return)

to this :

Code:
PlayMedia("special://profile/playlists/music/Test.m3u",return)


Second Method:

Into XBMC, add your playlist to favourites. Then on your system, edit your xbmc/userdata/favourites.xml file and replace the line corresponding to your playlist from this :

Code:
<favourite name="Test.m3u">ActivateWindow(10502,&quot;special://profile/playlists/music/Test.m3u&quot;,return)</favourite>

to this :

Code:
<favourite name="Test.m3u">PlayMedia(&quot;special://profile/playlists/music/Test.m3u&quot;,return)</favourite>

Then you can create a favourite launcher into Advanced Launcher and do what you want with it.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - MrBlack13 - 2014-09-21

(2014-09-20, 16:49)Angelscry Wrote:
(2014-09-16, 17:39)MrBlack13 Wrote:
(2014-09-15, 16:15)Angelscry Wrote: If there is a command into XBMC that allow you to start and play a playlist, it would be possible to launch this command internally or externally (by using script) using Advanced Launcher.

Thanks. I found this script, but at this point, the whole thing is over my head. I really can't believe that someone wouldn't want a simple way to randomly play (one click) a specific playlist, but I guess I'm wrong because I can't find where anyone had done it.

http://forum.xbmc.org/showthread.php?tid=69797
I have found 2 ways to do it...

First Method:

Into XBMC, add your playlist to favourites. Then, into Advanced Launcher create a favourite launcher of this playlist. Next, into the favourite launcher context menu ("C" key), go into Edit Launcher > Advanced Modifications > Modify Arguments and edit the value from this :

Code:
ActivateWindow(10502,&quot;special://profile/playlists/music/Test.m3u&quot;,return)

to this :

Code:
PlayMedia(&quot;special://profile/playlists/music/Test.m3u&quot;,return)


Second Method:

Into XBMC, add your playlist to favourites. Then on your system, edit your xbmc/userdata/favourites.xml file and replace the line corresponding to your playlist from this :

Code:
<favourite name="Test.m3u">ActivateWindow(10502,&quot;special://profile/playlists/music/Test.m3u&quot;,return)</favourite>

to this :

Code:
<favourite name="Test.m3u">PlayMedia(&quot;special://profile/playlists/music/Test.m3u&quot;,return)</favourite>

Then you can create a favourite launcher into Advanced Launcher and do what you want with it.

you are THE MAN! hopefully i'm not the only person looking for this and it will help a ton of others.

Thanks!


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - malosasha - 2014-09-23

hi in case it can help anybody; i was trying to get retroarch working with sound on a debian based xbmc install with openbox/alsa only (no pulse audio)
But i was facing issue with xbmc keeping lock on alsa; it seems that retroarch when started without acquiring a lock will never output sound
FInally i wrote this small wrapper script that set keep_audio_alive to off; then wait for alsa lock to be released ; launch retroarch and then set back keep audio alive to 1 minute

Need to be adapted but main idea is there and it works here with a launch time of 2 - 3 seconds

Code:
#!/bin/bash

USER=xbmc
PWD=xbmc
RA_PATH=/opt/user/build/retroarch/usr/local/bin

LOCK="false"
check_alsa() {
  LOCK="false"
  for i in /proc/[0-9]*/fd/*
  do
    var="$(readlink $i)"
    if test x"$var" != x"${var#/dev/snd/pcm}"
    then
        LOCK="true"
    fi
  done
}

# check if another retroarch is running
if [[ "`pidof -x ${RA_PATH}/retroarch`" ]]; then
    #echo "alredy running"
    exit
fi

#Set Keep alive to off
curl -H "Content-type: application/json" -d \
'{"jsonrpc":"2.0","method":"Settings.SetSettingValue", "params":{"setting":"audiooutput.streamsilence","value":0},"id":1}' http://${USER}:${PWD}@127.0.0.1:8080/jsonrpc

#wait for lock to be released
check_alsa;
while [ $LOCK = "true" ]; do check_alsa; done;

#launch  retroarch
$RA_PATH/retroarch "$@"

#Set keep alive to 1 minute
curl -H "Content-type: application/json" -d \
'{"jsonrpc":"2.0","method":"Settings.SetSettingValue", "params":{"setting":"audiooutput.streamsilence","value":1},"id":1}' http://${USER}:${PWD}@127.0.0.1:8080/jsonrpc



UI Issue with Advanced Launcher - Brian D - 2014-09-24

Hello,

I am getting a strange UI issue with my current setup, but I'm not sure if it is an XBMC, skin, or an AL issue.

Pretty much what happens is that I have created a favorite in advanced launcher for a category called Emulators. Then in my theme Aeon, I have the favorite set as a main menu item.

The issue is that when I click the shortcut Advanced Launcher will open in the tri-pane layout for a split second (with no content) then switch to the correct Category, in the correct layout. Obviously this is not the end of the world, but it sure looks like hell.

Is this due to the fact that I am using the favorite shortcut under the main menu?

If anyone else is doing this, do you see the same behavior and what theme are you using (that supports custom menu items)? I am willing to switch themes if that is the issue.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - bleakassassin - 2014-09-29

Hey Angelscry, I was wondering something. How hard would it be to add functionality to directly launch VBScript (.vbs) files via Advanced Launcher? You can already launch batch files in it, so I was just curious if it would be similar in concept.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - ricardo85x - 2014-09-29

Hi Angelscry.

Thanks for this great project.

I would like to know if is possible to add a filter where you only show 'games' with some genre or year.