2017-03-31, 00:19
(2017-03-30, 22:12)diablodiab Wrote:(2017-03-28, 18:08)ErAzOr2k Wrote: Now I need to find a way to parse the generated files (only second line in this case) to get the game ID and intent gamestream.You can also pass the .gamestream file directly to the modified Moonlight app using these commands in AEL:
I also tried to launch a bash script by AEL (with /system/bin/sh /path/to/script), but it seems, that the command is not executed by AEL.
Update: it's working find with root access. Now I can launch Gamestream Games directly from kodi
Code:<application>/system/bin/am</application>
<args>start --user 0 -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -e GameFile "%rom%" -n com.limelight/.Game</args>
The main advantage of doing this is if you are on Android and have replaced the built in launcher with Kodi. If you switch away from Moonlight, eg. by pressing the home button to return to Kodi, then the game that was streaming will be stopped on your remote pc so you are ready to launch a new game from Kodi. There will also be no splash screen if you prefer a clean transition from Kodi to the game:
https://www.youtube.com/watch?v=6JefiLRhPk0
nice to see the developer here thanks for the info
Can I make one suggestion? Is it possible to create a activity in the modified moonlight app, that refreshes the gamestream files from outside of moonlight? So we could add a refresh button inside kodi and don't need to open and leave the app.
And one thing: gamestream files won't get deleted, after removing game from streaming server.