Driver Details

New Community

Plex Media Server

By: David Bowdler
Updated: Nov. 21, 2026
Download Driver Purchase License
Rating: 0.0 (0 ratings)
Log in to rate this driver

Plex Media Server

Now playing, a poster-wall library and one-touch play for Plex Media Server on any RTI panel, from an RTI XP processor. Everything is read from the Plex server on the local network, so it works whichever Plex app is playing. For an RTI ICP processor, use the ICP build of this driver.

Key Features

  • Now playing for up to 8 rooms: title, year, poster, summary, position, progress and playing / paused, for whichever Plex app is playing in each room.
  • Poster wall: a full-screen Web Object grid of posters with search, sort, an Unwatched filter and TV seasons and episodes. It closes itself when a film starts, so the panel is straight back on Now Playing.
  • Library Browse Menu: the Plex library as a list with posters, paging and search, for panels and hardware remotes.
  • Start a film in a room: with Google Cast (Chromecast, Google TV, NVIDIA Shield), app links for Android TV, Fire TV and Apple TV, a Roku deep link or Plex Companion - set per room.
  • Transport: play, pause, stop and skip from the panel for Cast and Companion rooms.
  • Instant updates: changes arrive from the Plex server as they happen, with polling as a safety net.
  • A title source for BEQ: Title and Year feed the BEQ Smart App driver, which loads the matching filter on play and clears it on stop.
  • Built for support: events per room, a telnet debug console and opt-in remote logging so a fault can be diagnosed without attending site.

Requirements

  • Plex Media Server on a computer or NAS on the same network as the processor, and its Plex token
  • An RTI XP processor running runtime 24 or later, with Integration Designer 11.4 or later
  • No cloud service - the driver talks to the Plex server directly

How It Works

The driver reads the Plex server's sessions to show what each room is playing, matching each room to its Plex player by name or IP address. It browses the library from the same server and starts a title in a room the way that room's player supports. Tested on Plex Media Server 1.43 with an NVIDIA Shield, an RTI XP-8v and an iPad. The download includes a ready-to-use iPad sample file (SampleFile.apex), instructions and an Integration Note.

Support: smarthomeprogramming.com.au

Plex Media Server | Version 0.10

Introduction

Shows what is playing on every Plex player in the house, puts the Plex library on the panel as a browse menu with artwork, and starts the chosen film or episode on a room's TV. Everything is read from the Plex Media Server on the local network, so it works the same whichever Plex app is playing. The title and year make it a ready-made title source for the BEQ Smart App driver.

Written and supported by Smart Home Programming and Automation.

Version History

  • 0.10 - The Browse Menu can sit on a panel layer (Browse Open variable, Show / Hide / Toggle Browse Menu, tag Browse Menu) that closes itself when a title is played from it - a list row or the Play button - so the panel is back on Now Playing. Opening the poster wall closes it. The sample file uses this.
  • 0.9 - Instructions: poster wall functions, variables and tags, and a description of the sample file (Browse list pop-up and Posters layer). No change to how the driver works.
  • 0.8 - Browse Menu thumbnails are requested at high quality (the server default for small images is heavily compressed) and default to 100 px. The poster wall layer (?wall=1 without player=) plays on the panel's Target Player.
  • 0.7 - Poster wall as a panel layer: Show / Hide / Toggle Poster Wall functions and Poster Wall Open / Closed variables (tag Poster Wall). Playing a title from the wall hides it, so the panel is back on Now Playing; ?wall=1 adds a close button to the page. Browse Menu thumbnails are now sized to fit the list row (new List Poster Height setting), so posters show whole and the right shape.
  • 0.6 - Browse Menu thumbnails now load on iPad panels (the image link was being encoded twice, so every list row came back blank). A title the Plex server cannot play (for example a file it has never analysed) is now reported in Player N Last Play Request and fires Play Request Failed, instead of looking like a normal start and stop.
  • 0.5 - First run against a real Plex Media Server (1.43) with an NVIDIA Shield. A title started by Google Cast now shows in Now Playing (Plex does not list Cast playback as a session, so the driver reads the Cast device itself): title, poster, position, playing / paused and the Started, Paused, Resumed and Stopped events. Skip forward and back on Cast now jump from the real position. New variables: Connection State, Disconnected, License Status (+ Licensed / Trial / Unlicensed) and License Trial Remaining. Debug and remote-logging settings are hidden.
  • 0.4 - Poster wall Web Object with search, sort, Unwatched filter and Play / Resume / Start Over.
  • 0.3 - Instant updates from the Plex server's notifications; now-playing Web Object; position ticks every second.
  • 0.2 - Play Methods (Google Cast, app links, Roku, Companion) and the Browse Menu.

Driver Features

  • Now playing for up to 8 players: title, year, show, episode, summary, poster, background art, position, duration, progress, user, device, video quality, transcoding
  • Library Browse Menu on the panel (Continue Watching, Recently Added, every library), with artwork, paging and search
  • Start a film or episode on a room with the Play Method that suits its TV device: Google Cast, Android TV / Fire TV app link, Apple TV app link, Roku deep link or Plex Companion
  • Play, pause, stop, skip forward 30 s, skip back 15 s, next and previous for Cast and Companion players
  • Instant updates from the Plex server's notifications, with polling as a safety net
  • Now-playing Web Object and a full-screen poster wall Web Object; the poster wall can sit on a panel layer that closes itself when a title is played
  • Playing / Paused / Stopped booleans and Started, Paused, Resumed, Stopped and Title Changed events per player
  • 120-minute trial; per-processor licence key
  • Telnet debug console and opt-in remote logging for support

Supported Devices

  • Plex Media Server on a computer or NAS on the same network as the processor (tested on 1.43).
  • Any Plex player app for now-playing feedback.
  • Starting and controlling titles: Google Cast devices (Chromecast, Google TV, NVIDIA Shield - tested on a Shield), Android TV / Fire TV and Apple TV through their device drivers, Roku, and older Plex apps that still accept Plex Companion.

System Requirements

  • Integration Designer - 11.4 or above
  • RTI processor - XP-8 class (XP-3 / XP-6 / XP-6s / XP-8 / XP-8s / XP-8v)
  • Processor script runtime - 24 or above
  • A Plex token (or the processor allowed without auth in Plex)

Device Setup

Get a Plex token

In a web browser open Plex Web, open any film, choose the ... button on the film's row, then Get Info > View XML. The address bar of the page that opens ends in X-Plex-Token=... - copy that value into the Plex Token setting. Use the server owner's account. Keep the token private; it gives access to the Plex account.

Alternatively, add the processor's IP in Plex Settings > Network > List of IP addresses and networks that are allowed without auth, and leave Plex Token blank. Google Cast still needs a token.

Set up each room

  • Server IP Address - the computer or NAS running Plex Media Server.
  • Number of Players - one per room you want to show or control.
  • Player N > Room / Display Name - the name used on panels.
  • Player N > Plex Player Name - the player's name exactly as Plex shows it (Plex Web > Settings > Devices, or the name shown while something plays). Leave blank to match by IP address instead.
  • Player N > Device IP Address - the TV device's IP. Needed for Google Cast, Roku and Companion.
  • Player N > Play Method - how a title picked on the panel is started on that player (below).

Play Methods

Plex has removed the old remote-control feature from its current TV apps, so each room needs a method that suits its TV device:

  • Google Cast (Chromecast, Google TV, NVIDIA Shield) - the driver starts the title itself, and play, pause, stop and skip work from the driver. Now Playing comes from the Cast device while the title plays.
  • Android TV / Fire TV app link - the driver writes the title's link to Player N Play Link (and Player N Play From Start for Start Over) and fires Player N Play Link Ready. With the SHP NVIDIA Shield driver v1.96 or later, set that driver's Plex Play Link and Plex Play From Start settings to these two variables: movies and TV episodes then open and start playing on the Shield, no macro needed.
  • Apple TV - Plex app link and Apple TV - Rivulet app link - the same, for the Apple TV driver.
  • Roku deep link - the driver tells the Roku to open the title. Find the Plex app ID with the debug console command rokuapps N. Roku does not report a bad link, so check the TV.
  • Plex Companion - the older Plex remote-control protocol. Works with Plex HTPC and older Plex apps only.
  • None - feedback only.

Every play request writes the result to Player N Last Play Request, and a failure fires Play Request Failed.

Browse Menu

Drop the Browse tag on a list widget, Browse Back on a back button and Browse Home on a home button. The menu shows Continue Watching, Recently Added and each library. Large libraries load a page at a time - choose More at the bottom of the list. Picking a film or episode publishes it as Selected Title, Selected Poster and so on, and Play Selected Title On starts it on a room. Choose the room with Set Target Player, or with the Target Player N buttons (each lights when it is the chosen room).

As a layer on a panel page: put the list and its buttons on a layer whose visibility is Browse Open, open it with Show Browse Menu (tag Browse Menu) and close it with Hide Browse Menu. Playing a title from it - a list row or Play Selected - hides the layer, so the panel is back on Now Playing.

Web Objects

  • Now playing: http://:9098/ for every room, or http://:9098/?player=2 for one room filling the object.
  • Poster wall: http://:9098/library - search, sort, Unwatched filter, TV seasons and episodes, Play / Resume / Start Over. Add ?player=2 to make that room the default. The panel loads posters straight from the Plex server, so it must be on the same network; in Plex Settings > Network set Secure connections to Preferred.

As a layer on a panel page: put the poster wall Web Object (http://:9098/library?wall=1 - it plays on the Target Player) on a layer whose visibility is Poster Wall Open, and a button tagged Poster Wall (Show Poster Wall) to open it. Playing a title hides the layer, so the panel returns to Now Playing; the X on the page (wall=1) closes it.

Change the port in Web Object > Web Object Port if another driver uses 9098; 0 turns it off.

Using it with the BEQ Smart App driver

In the BEQ driver's Auto-Trigger settings, point a Source Title Sysvar at this driver's Player N Title and its Year Sysvar at Player N Year for the room with the BEQ system.

Sample file

SampleFile.apex is an iPad project with the driver loaded. The Now Playing page shows the current title, poster, progress and transport for Player 1, with Details on the right. In the MORE row, Browse opens the Browse Menu (a layer with the list and a Selected panel; playing a title from it returns to Now Playing) and Posters opens the poster wall layer. The poster wall Web Object points at 192.168.1.100 - change it to your processor's IP address (Web Object button > Default URL), and fill in Server IP Address, Plex Token and the Player settings in Driver Properties.

Diagnostics

Telnet to the processor on the Debug Console Port (default 12588). Commands: status, get /status/sessions, browse, play N itemId, pause N, resume N, stop N, fwd N, back N, ws, rokuapps N, watch.

Driver Configuration

Connection Settings

  • Server IP Address - IP address of the computer or NAS running Plex Media Server.
  • Server Port - default 32400.
  • Use HTTPS - leave off unless the server is set to Secure Connections = Required.
  • Plex Token - see Device Setup.
  • Now Playing Poll - default 2 seconds.
  • Number of Players - default 2.

Player N (N = 1-8, same for each)

  • Room / Display Name - shown on panels and in function pickers.
  • Plex Player Name - player name as Plex shows it. Blank = match by IP, or first free session.
  • Device IP Address - the TV device IP. Needed for Cast, Roku and Companion.
  • Play Method - how a title picked on the panel is started on this player.
  • Roku Plex App ID - default 13535. Roku only.

Browse Menu

  • Show Artwork in Lists - default true.
  • List Poster Height - default 100 pixels. Panels draw list images at their own size and clip anything bigger than the row, so keep this below the list row height.
  • Items per Page - default 40.

Web Object

  • Web Object Port - default 9098. 0 disables.

Licence

  • Licence Key - from smarthomeprogramming.com.au.

Licensing

The driver runs fully for a 120-minute trial after it loads. After that, playing and transport are refused (and the refusal is logged) while now-playing feedback and browsing keep working. A licence key is tied to the processor's MAC address, shown in the MAC Address (for licence key) variable; paste it into Licence Key in Driver Properties. License Status reads Licensed, Trial or Unlicensed, with matching booleans and License Trial Remaining.

Functions

Browse Menu

  • Browse Select - list index (0-based)
  • Browse Back, Browse Home
  • Show Poster Wall, Hide Poster Wall, Toggle Poster Wall - open / close the poster wall layer
  • Show Browse Menu, Hide Browse Menu, Toggle Browse Menu - the Browse Menu layer
  • Search Plex - search text
  • Set Target Player - player; Target Player N (N = 1-8)

Play

  • Play Selected Title, Play Selected Title On - player
  • Play Plex Item ID On - player, Plex item ID (ratingKey)

Transport (Cast and Companion players)

Each takes a Player picker: Play / Resume, Pause, Play/Pause, Stop, Skip Forward 30s, Skip Back 15s, Next, Previous.

Server

  • Refresh Now, Reconnect

Diagnostics

  • Remote Logging On, Remote Logging Off, Remote Logging Toggle

Variables

Server

Connection State (0 Disconnected, 1 Connecting, 2 Connected), Server Connected, Disconnected, Server Status, Server Name, Server Version, Active Streams, Now Playing Everywhere (list), Last Error, Driver Version.

Player N (N = 1-8, same for each)

Name, Something Playing, Nothing Playing, Playing, Paused, State, Title, Subtitle, Show / Album, Year, Media Type, Summary, Poster, Background Art, Position, Duration, Remaining, Progress %, Plex User, Plex App / Device, Video Quality, Transcoding, Play Link, Play From Start, Last Play Request.

Browse Menu and Selected Title

Browse List, Browse Title, Browse Loading, Browse Open, Browse Closed, Poster Wall Open, Poster Wall Closed, Target Player, Target Player Name, Target N, Selected Title, Subtitle, Year, Type, Summary, Rating, Duration, Poster, Background Art, Item ID, Selected / Nothing Selected.

Licence

License Status, Licensed, Trial, Unlicensed, License Trial Remaining, Licence Valid, Licence Status (detail), Trial Active, Trial Expired, Trial Time Remaining, MAC Address (for licence key).

Events

Per player: Playback Started, Paused, Resumed, Stopped, Title Changed, Play Link Ready. Server: Server Connected, Server Disconnected, Play Request Failed. Licence: Trial - 5 Minutes Left, Trial Expired. Events are not fired for titles that were already playing when the driver started.

Autoprogramming Support

| Tag | Wires | |---|---| | Browse | command + feedback | | Browse Back | command | | Browse Home | command | | Player N Active (N = 1-8) | feedback | | Player N Playing (N = 1-8) | feedback | | Plex Play Selected | command | | Poster Wall | command (Show Poster Wall) + feedback (Poster Wall Open, layer visibility) | | Poster Wall Close | command (Hide Poster Wall) | | Browse Menu | command (Show Browse Menu) + feedback (Browse Open, layer visibility) | | Browse Menu Close | command (Hide Browse Menu) | | Plex Title Selected | feedback | | Target Player N (N = 1-8) | command + feedback |

Limitations

  • Current Plex TV apps no longer accept remote control from the server, so pause / play / skip work only for Google Cast and Plex Companion rooms. For other rooms use the TV device's own driver for transport.
  • A title started by Google Cast does not appear as a Plex session; the driver shows it from the Cast device, so Plex User is blank for it.
  • Google Cast devices ignore a skip sent while they are still buffering (a few seconds after starting or after the previous skip).
  • Now playing for other apps is updated instantly when the server offers notifications, otherwise every Now Playing Poll interval.

Support Contact

Smart Home Programming and Automation - smarthomeprogramming.com.au - support through the contact form on the website. Please include the driver version and, if we ask, switch Remote Logging on so we can see what the server reports.

Licensed per RTI processor. The key is generated from the processor MAC address and covers every room the driver runs on that processor.

A 120-minute trial runs without a key. When the trial expires, control commands stop until a valid key is entered - now playing and status keep updating.

Buy a licence: smarthomeprogramming.com.au

Please log in to leave a comment.
Loading comments...