Installing TrilbyTV Player on Raspberry Pi
This page provides instructions for setting up the TrilbyTV Player on a Raspberry Pi device for low-cost digital signage.
Raspberry Pi is an amazing, affordable computer that can be used for all sorts of tasks. It is designed for situations where low power and 24/7 running are requirements, making it a decent choice as a digital signage player.
Setup
Install and open the Chromium browser on the Raspberry Pi.
Install the PWA
- Enter the URL https://player.trilbytv.co.uk in the search bar and click enter. Click the Install button in the address bar (or use the three-dot menu > "Install TrilbyTV Player").
- Open the installed PWA, which would be listed under Chromium Apps and click Start and make note of the 8-digit Player Code
- Open Players and click Add Player and enter the 8-digit Player code , and give the Player a name
Auto Start
You will want TrilbyTV Player to autostart in case of a power failure or to resume if the power is switched off overnight.
How to set up auto start if TrilbyTV is the only installed Chromium PWA:
- Create an Autostart Directory (if it doesn’t exist)
mkdir -p ~/.config/autostart/
- Copy the installed PWA to the autostart directory.
cp ~/.local/share/applications/chrome-*.desktop ~/.config/autostart/trilbytv-pwa.desktop
- Now, reboot the device, which should now automatically launch TrilbyTV Player in full-screen mode.
sudo reboot
If multiple PWAs are installed, find TrilbyTV PWA and set it to Auto start:
- Create an Autostart Directory (if it doesn’t exist)
mkdir -p ~/.config/autostart/
- To list all installed Chromium PWAs, use this command:
ls ~/.local/share/applications/ | grep chrome
- You’ll need to examine each
chrome-<id>.desktopfile to identify the TrilbyTV Player one. To do this, use thecatcommand to open each file and check its content.
cat ~/.local/share/applications/chrome-
<your-found-id>.desktop - Once you've identified the correct file, copy it to the autostart directory:
cp ~/.local/share/applications/chrome-<your-found-id>.desktop ~/.config/autostart/trilbytv-pwa.desktop
- Now, reboot the device, which should now automatically launch TrilbyTV Player in full-screen mode.
sudo reboot