link-webcreations / moonlight-config

Files needed to run a steambox tought the RaspberryPi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sources: https://github.com/irtimmer/moonlight-embedded

HOWTO: http://embedded-software-architecture.com/?page_id=140

Credits: https://github.com/RoelofBerg/moonlightpisteambox

Assumption : Installation as pi user.

Step 1 - Install

$ {
sudo apt update && sudo apt dist-upgrade -Vy &&
echo "deb http://archive.itimmer.nl/raspbian/moonlight $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/moonlight.list &&
wget -qO - http://archive.itimmer.nl/itimmer.gpg | sudo apt-key add - &&
sudo apt update && sudo apt install -y wakeonlan moonlight-embedded &&
sudo usermod -a -G video $(id -un);
}

Step 2 - pair

$ {
mkdir git && cd git &&
git clone git@github.com:link-webcreations/moonlight-config.git &&
cd ~/git/moonlight-config &&
chmod +x ./autostart.sh &&
moonlight pair 192.168.1.221;
}

Step 3 - run if you have a keyboard

$ ~/git/moonlight-config/autostart.sh

Step 3 bis - run if you dont (launch the stream remotely)

$ sudo -i -u pi sh -c "~pi/git/moonlight-config/autostart.sh | sudo tee /dev/tty1 > /dev/null"

Note: Just change pi with the user autoconnected at boot on the TV.

About

Files needed to run a steambox tought the RaspberryPi

License:BSD 2-Clause "Simplified" License


Languages

Language:Shell 100.0%