Steamlink Launcher for Kodi
Plugin for Kodi to launch Steamlink.
Requirements
-
Raspbian >=10 already installed.
-
Install
kodi
package:sudo apt-get update sudo apt-get install -y kodi
-
Systemd service unit is being installed to start
kodi-standalone
service:cat <<EOF | sudo tee /etc/systemd/system/kodi.service [Unit] Description = Kodi Media Center After = systemd-user-sessions.service network.target sound.target [Service] User = pi Group = pi Type = simple ExecStart = /usr/bin/kodi-standalone Restart = always RestartSec = 15 [Install] WantedBy = multi-user.target EOF sudo systemctl daemon-reload sudo systemctl enable kodi sudo systemctl start kodi
-
Install steamlink debian package with:
sudo apt-get update sudo apt-get install -y steamlink
-
Install a minimal X11 server to start steamlink
sudo apt-get --no-install-recommends install -y xserver-xorg xserver-xorg-video-fbturbo xinit
Plugin installation
-
Log into ssh on your Kodi installation.
-
Download the zip of the launcher and install it via Kodi (Extension → Install from Zip file). You must allow untrusted sources in system settings prior to this.
-
Setup sudo rules to allow
pi
user to run steamlink:cat <<EOF | sudo tee /etc/sudoers.d/steamlink-kodi pi ALL=(root) NOPASSWD: /bin/systemctl stop kodi, /bin/systemctl restart kodi EOF
Want to contribute ?
Submit your contributions through pull requests.
Acknowledgement
Steam Copyright 2003-2018 Valve Corp. All rights reserved. Use of Steam Link software is subject to the Steam Subscriber Agreement, https://store.steampowered.com/subscriber_agreement/.
Inspiration
- grimlokason/osmc-steamlink - scripting logic
- swetoast/steamlink-launcher - addon resources
License
Steamlink Launcher for Kodi is licensed under GPLv2, see LICENSE.txt
.