Hi, it work really well thanks.
I try to convert this code to Libreelec :
GitHub - swetoast/steamlink-launcher: Steamlink launcher for OSMC
By replacing in steamlink-launcher/addon.py at master · swetoast/steamlink-launcher · GitHub
Every '/tmp/steamlink-launcher.sh' with '/storage/steamlink/steamlink.sh' in addon.py
And commenting line 22 : create_files() to """create_files()"""
And it did work, I successfully launch Steamlink from Libreelec's Kodi.
The only problem is that this script also tells OSMC to quit Kodi before launching Steamlink.
And this doesn't work yet in Libreelec, so the keyboard doesn't work in Steamlink..
Apparently the script creates a steamlink-watchdog.sh that check if Steamlink is launched, and if so, start or quit Kodi.
I don't know how to adapt this steamlink-watchdog.sh to Libreelec.