Coder Social home page Coder Social logo

kodi-steamlink-launcher's Introduction

Steamlink Launcher for Kodi

Plugin for Kodi to launch Steamlink.

Requirements

  • Raspbian >=9 already installed.

  • Install kodi package:

    sudo apt-get update
    sudo apt-get install -y kodi
  • A kodi user is created and used to start kodi-standalone service:

    sudo useradd -a -m -U -G "audio,bluetooth,input,plugdev,video" -s /bin/bash -u 999 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 = kodi
    Group = kodi
    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

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 kodi user to run steamlink:

    cat <<EOF | sudo tee /etc/sudoers.d/steamlink-kodi
    kodi ALL=(root) NOPASSWD: /bin/systemctl stop kodi, /bin/systemctl restart kodi, /bin/openvt
    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

License

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

kodi-steamlink-launcher's People

Contributors

bigbrozer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.