Skip to content

jacen05/kodi-steamlink-launcher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Steamlink Launcher for Kodi

Plugin for Kodi to launch Steamlink. Based on work of bigbrozer.

Requirements

Any recent Linux distribution with following requirements:

  • Systemd-based

  • Flatpak support (hint: sudo apt install flatpak)

  • Kodi v19 package installed as a service (hint: sudo apt install kodi)

  • Install steamlink

    # Install SteamLink package
    flatpack install com.valvesoftware.SteamLink

    Adapt startup command if needed For example if SteamLink was installed through a Debian package, replace the flatpack line with just steamlink.

  • Specfic for Openbox if used

    If not running a full Desktop Environment like Gnome, KDE or XFCE, some display-related tweaks may be needed to properly launch SteamLink. A starting script could be:

    /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/openbox-session -- :0 -nolisten tcp vt7 &
    sleep 3 # Allow some time for display initialization
    OUTPUT=`xrandr -display :0 -q | sed '/ connected/!d;s/ .*//;q'`
    xrandr -display :0 --output $OUTPUT --set "Broadcast RGB" "Full"
    export DISPLAY=:0
    flatpak run com.valvesoftware.SteamLink
    openbox --exit
    sleep 3 # Allow some time for display to shutdown (needed for proper Kodi restart)

    However this may not be needed, for example when launching from Kodi, the program shall be able to use the already opened display.

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.

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

License

Steamlink Launcher for Kodi is licensed under GPLv2, see LICENSE.txt.

About

Plugin for Kodi to launch Steamlink

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 58.6%
  • Makefile 41.4%