Skip to end of metadata
Go to start of metadata

The Raspberry Pi player uses Java and two support applications to display images and videos in a single full screen zone.

Requirements

Raspberry Pi - Model B Rev. 2 (512Mb) recommended

Linux Raspbian installed to SD card - http://www.raspberrypi.org/downloads

1. Download dependencies

2. Download boot application

3. Launch boot application

Where [server] is the address of the TargetR server e.g. http://demo.targetr.net and [shortcut] is the installation shortcut code.

The boot application will download required files and start playback.

Limitations

The Raspberry Pi player only supports a subset of TargetRs full functionality.

  • Single fullscreen zone
  • No channel or sequence overlay. (ALPHA support below).
  • No RSS text overlay. (ALPHA support below).
  • No web page rendering
  • No interactivity

We recommend using the Android player if these features are required.

 

Overlay support

This version positions another layer on top of images and videos. Standard overlay components include a clock and RSS news text (if configured). A PNG with transparency is also supported if added to the channel or sequence being displayed.

This version of the player is currently in ALPHA, we welcome feedback.

1. Download and extract Java 8 to /home/pi directory. Java 8 is available below:

https://jdk8.java.net/download.html

2. Download boot application

3. Launch boot application

Where [server] is the address of the TargetR server e.g. http://demo.targetr.net and [shortcut] is the installation shortcut code.

Ensure the correct path to the java 8 runtime is included after the -java argument. (The current version is jdk1.8.0_20 when this document was updated)

Be patient, the overlay may not appear for 20 seconds while Java FX initialises.

Recommended settings for /boot/config.txt

 

 

 

Advanced start

To prevent console text interfering with playback, create a shell script containing the following:

Remember to change [server] and [shortcut] accordingly.

Configure your pi to run this script when starting.

Auto provisioning

The server will automatically provision a shortcut code and display it on the screen if s.shortcut parameter is omitted. 

Control screen power

Raspberry Pi Pin 26 (GPIO 7) can be used to control the screen power.

  • When an installation is configured to be inactive, Pin 26 will be set Low. 
  • When an installation is configured to be active, Pin 26 will be set High. 

Make sure Java has permission to control GPIO (run as ROOT by prefixing java with "su")

Portrait Mode

Add the following setting to /boot/config.txt to run the player in 9:16 portrait mode (1080x1920).

Ensure the zone layout, channel and content are set to 9:16 in the admin interface to fully utilise the full screen area.

Known Issues

  • Images that do not match the display resolution can cause screen to flicker to black between images.
    • Ensure the correct aspect ratio is configured for installations and channels (16:9 or 9:16)

 

  • No labels