This adds two functions to Screenly OSE:
- allowing for rotation (omxplayer --orientation)
- Looping features of omxplayer
They are exposed in the "Settings" menu. The looping function does break scheduling, as the "timeout" built-in viewer.py has to be removed to allow for clean video looping. You can still use the "next/previous media" functions to force a change in content.
Unfortunately these are global settings at this time and not by media. Ideal for a simple player that needs to play a single video on loop.
Which Screenly version is right for me?
The recommended installation method is to grab the latest disk image from here.
The tl;dr for installing Screenly OSE on Raspbian Lite is:
$ bash <(curl -sL https://www.screenly.io/install-ose.sh)
This installation will take 15 minutes to several hours, depending on variables such as:
- The Raspberry Pi hardware version
- The SD card
- The internet connection
During ideal conditions (Raspberry Pi 3 Model B+, class 10 SD card and fast internet connection), the installation normally takes 15-30 minutes. On a Raspberry Pi Zero or Raspberry Pi Model B with a class 4 SD card, the installation will take hours. As such, it is usually a lot faster to use the provided disk images.
To learn more about Screenly, please visit the official website at Screenly.io.
Quick links:
Screenly OSE works on all Raspberry Pi versions, including Raspberry Pi Zero and Raspberry Pi 3 Model B.
To simplify development of the server module of Screenly OSE, we've created a Docker container. This is intended to run on your local machine with the Screenly OSE repository mounted as a volume.
Assuming you're in the source code repository, simply run:
$ docker run --rm -it \
--name=screenly-dev \
-e 'LISTEN=0.0.0.0' \
-p 8080:8080 \
-v $(pwd):/home/pi/screenly \
screenly/ose-dev-server
nosetests --with-doctest