kodi-steamlink icon indicating copy to clipboard operation
kodi-steamlink copied to clipboard

autostart Kodi

Open nowakom opened this issue 7 years ago • 10 comments

Is it possible to auto start Kodi on Steamlink power-up? And if yes, is there a possibility to exit to Steamlink OS after booting directly to Kodi?

nowakom avatar Feb 08 '18 12:02 nowakom

You had any luck ?

I'm trying with ssh and start motifications but not work really well .

Don't know how steam link shell work to get autostart apps working :(

Or anyone know how autostart kodi or other things at steam link !?!?!?

Regards

Gamerios avatar Apr 02 '18 22:04 Gamerios

No one ? :(

Gamerios avatar Apr 03 '18 21:04 Gamerios

~~Haven't tried, but if you look at /etc/init.d/startup/ you will see a S99steam file. Rename this file to something like K99steam and create a S99kodi, make it executable with chmod 754 and add the content:~~


I had only checked the SDK content /rootfs, but on the actual device, S99steam contains mostly bootup code it seems, like device drivers inserts, etc.

Have you tried altering /home/steam/shell.sh ? Rename this file and put the following in-place:

#!/bin/sh
cd /home/apps/kodi && ./kodi.sh

Make sure you chmod 754 this file. But exming this file (/home/steam/shell.sh) shows some interesting things... like;

  • powermanager starts the shell
  • it will restart it when not running ? (can cause restart loop?)
  • /tmp/launch_cmdline.txt sets the application to start ?

Note: do not blame me if it broke your device...

gbraad avatar Apr 06 '18 17:04 gbraad

Thanks yes already tested most things.

And also screwd up / broke a steam link. Because of to much tries.

Yes this shell makes much problems it blinks when starting kodi from ssh console and when start kodi at start without shell steam link screen stays black :(

Gamerios avatar Apr 07 '18 03:04 Gamerios

The blinking might occur because of the powermanager restarting/activating the steam shell. Will see in a few days what I can find... waiting for some additional devices to arrive

gbraad avatar Apr 07 '18 06:04 gbraad

Have you tried setting /tmp/launch_cmdline.txt on startup with the command that is set in this file when you start Kodi from the launcher?

gbraad avatar Apr 08 '18 17:04 gbraad

@gbraad

Yes not work right. :(

Gamerios avatar Apr 14 '18 00:04 Gamerios

@slouken sorry, to bother, but do you have any idea how we could make the SteamLink autostart an application on boot?

gbraad avatar Apr 14 '18 01:04 gbraad

Also is there a way to autoconnect to the PC by Steam Streaming from Steam Link at Boot / at Startup ?

Gamerios avatar Apr 24 '18 21:04 Gamerios

Im also very interested on this. I also got 2 Steamlink here and would be great if we can establish a startup script for Kodi.

Any Options ?

Donation for this will be given.

Hellangel1987 avatar Jul 26 '18 14:07 Hellangel1987