Viewer Page Template Reference

Everything a viewer page template can use in ShowPilot: placeholders, show/hide sections, the song list's classes, pop-up messages, CSS variables and JavaScript calls. RF means it also works the same way on Remote Falcon pages; SP is ShowPilot only; RF only is a Remote Falcon feature ShowPilot accepts but doesn't use, so imported pages don't break. Checked against Remote Falcon's viewer and templates as of October 2026.

Nothing matches that search.

How placeholders work

Write a placeholder in curly braces anywhere in your template's HTML and ShowPilot replaces it when the page loads, then keeps it up to date while visitors are on the page (no refresh needed). Names are case-sensitive.

<h2>Now playing: {NOW_PLAYING}</h2>
<div {jukebox-dynamic-container}>
  <div class="jukebox_table">{PLAYLISTS}</div>
</div>
Placeholders are replaced everywhere, even inside HTML comments. To mention one in a comment, write it without the braces (e.g. NOW_PLAYING).

Song and queue info

Each one becomes a small element you can style; the class or data attribute in the second column is what ShowPilot puts on it.

PlaceholderBecomesWhat it shows
{NOW_PLAYING} RF.now-playing-textDisplay name of the song playing now, or — when nothing is. (Remote Falcon also puts the cover and artist in here; in ShowPilot use the two placeholders below.)
{NOW_PLAYING_ARTIST} SP.now-playing-artistIts artist; empty when there isn't one (style :empty to hide it).
{NOW_PLAYING_IMAGE} SPimg.now-playing-image.sequence-imageIts cover art. Hidden when there's no cover.
{NOW_PLAYING_TIMER} RF[data-showpilot-timer]Time left in the song, m:ss; --:-- when unknown.
{NOW_PLAYING_PROGRESS} SP.sp-progressA progress bar with the time left. See Progress bar.
{NEXT_PLAYLIST} RF[data-showpilot-next]The song up next (next request, or the next scheduled song).
{NEXT_PLAYLIST_ARTIST} SP.next-playlist-artistIts artist; empty when there isn't one.
{NEXT_PLAYLIST_IMAGE} SPimg.next-playlist-image.sequence-imageIts cover art. Hidden when there's no cover.
{PLAYLISTS} RFsong rowsThe song list for the current mode (vote buttons in Voting, request buttons in Jukebox). See Song list markup.
{JUKEBOX_QUEUE} RF[data-showpilot-queue-list]The list of songs waiting to play. See Request queue.
{QUEUE_SIZE} RF[data-showpilot-queue-size]How many requests are waiting.
{QUEUE_DEPTH} RFplain numberThe most requests the queue takes (Settings → Jukebox).
{LOCATION_CODE} RFinput#locationCodeInputThe access-code box when an access code is required; nothing otherwise.
{MESSAGE_BOX} SPform.sp-message-boxThe "send us a message" form. See Visitor messages.
{MESSAGE_WALL} SPsection.sp-message-wallMessages visitors chose to share, once approved.
{SHOW_BUTTONS} SPsection.sp-show-buttonsButtons visitors press to run an effect on the show. See Show buttons.
{VOTES} RFnothingAccepted so Remote Falcon templates don't show stray text; vote counts are in each song row.
{VOTES_REMAINING} RF onlynothingOn Remote Falcon this shows "X of N votes left" when the show limits votes per viewer. ShowPilot has no vote limit, so it's left empty.

Show / hide sections

Put one of these inside an opening tag. ShowPilot shows that element only when it applies, and switches it live (e.g. when you change from Voting to Jukebox). Hidden elements get the hidden attribute.

<div class="intro" {after-hours-message}>The show starts at 6 PM!</div>
Write in the tagBecomesShown when
{jukebox-dynamic-container} RFdata-showpilot-container="jukebox"Jukebox mode.
{playlist-standard-dynamic-container} RFsame as jukeboxJukebox mode (older Remote Falcon name).
{playlist-voting-dynamic-container} RFdata-showpilot-container="voting"Voting mode.
{on-demand-and-voting-dynamic-container} RFsame as votingVoting mode (older Remote Falcon name).
{race-dynamic-container} SPdata-showpilot-container="race"Race mode.
{listen-only-dynamic-container} SPdata-showpilot-container="listenonly"Listen only mode. When your template has this section, Listen only shows it and hides the voting and jukebox sections. Without it, Listen only keeps the last mode's song list on the page with picking closed.
{show-on-dynamic-container} SPdata-showpilot-container="showon"Every mode except Off (Voting, Jukebox, Race and Listen only) — e.g. now playing, your radio station or the Listen button.
{location-code-dynamic-container} RFdata-showpilot-container="locationcode"An access code is required.
{after-hours-message} RFdata-showpilot-container="afterhours"Viewer control is off (outside show hours).
{message-dynamic-container} SPdata-showpilot-container="messages"Visitor messages are open.
{show-buttons-dynamic-container} SPdata-showpilot-container="showbuttons"The show buttons can be pressed.

Put {PLAYLISTS} inside a Voting and a Jukebox section and each gets the right kind of rows. To hide other parts while the after-hours message shows:

body:has([data-showpilot-container="afterhours"]:not([hidden])) .now-playing-card { display: none; }

Song list markup

What {PLAYLISTS} puts on the page. The classes match Remote Falcon's, so Remote Falcon CSS keeps working; ShowPilot adds a few of its own.

Jukebox row

<div class="jukebox-list sequence-item" data-seq="File name" onclick="ShowPilotRequest('File name')">
  <div>
    <img class="sequence-image" src="…cover…">          <!-- only when the song has a cover -->
    <span class="sequence-name">Display Name</span>
    <span class="sequence-badge">New</span>            <!-- only with a badge -->
    <div class="jukebox-list-artist sequence-artist">Artist</div>
    <span class="sequence-requests"></span>
  </div>
</div>

Voting row

Two cells side by side with no row wrapper (Remote Falcon's layout), so a two-column grid on the container pairs them up.

<div class="cell-vote-playlist sequence-item" data-seq="File name" onclick="ShowPilotVote('File name')">
  <div>
    <img class="sequence-image" src="…">
    <span class="sequence-name">Display Name</span>
    <div class="cell-vote-playlist-artist sequence-artist">Artist</div>
    <span class="sequence-votes">3</span>              <!-- hidden by default -->
  </div>
</div>
<div class="cell-vote" onclick="ShowPilotVote('File name')">3</div>
Class / attributeOnNotes
.sequence-item SPevery song rowOne selector for both modes.
.jukebox-list, .cell-vote-playlist, .cell-vote RFrows / vote count cellThe vote count cell also casts the vote when tapped.
.sequence-image, .sequence-name, .sequence-artist RFinside a rowImages come with width="40" as a hint; your CSS wins. The artist line is empty when there's no artist (use :empty).
.sequence-votesvoting rowsA second vote count inside the name cell, hidden unless your CSS shows it.
[data-seq]rows, queue itemsThe song's file name, for CSS or scripts.
.sequence-category-header SP, .category-label RFcategory headingsShown above each group when songs have categories (and headings are on in Sequences → Categories). Spans the full width in grid and flex lists. Both classes are on the heading. Remote Falcon also wraps each group in .category-section; ShowPilot doesn't, so style the heading instead.
.jukebox-list-3, .sequence-image-3, data-key RF only—Remote Falcon numbers each row's classes and puts the file name in data-key. In ShowPilot use [data-seq="File name"] or :nth-child() instead.

Song states

Extra classes and attributes a song row can carry. All of them are ShowPilot only, kept current while the page is open.

Class / attributeMeansDefault look
.showpilot-queued
data-queue-position="2"
Already requested, and where it is in the queue.None; style it yourself (e.g. a "#2 in line" label with attr()).
.showpilot-badge, .showpilot-badge-<name>
data-badge="Fan Favorite", .sequence-badge
The song has a badge (Sequences page). <name> is the badge in lower case with dashes, e.g. showpilot-badge-fan-favorite.A small label in the cover's corner or after the name (Settings → badge look). Style .sequence-badge to change it.
.showpilot-cooldown
data-cooldown="after 3 more songs"
data-cooldown-left="3" data-cooldown-unit="songs"
.sequence-cooldown
Just played and still cooling down. Only on the page when Keep cooling-down songs on the page is on (Settings → Jukebox → Song cooldown); otherwise the song is left out. data-cooldown-unit is songs or minutes. The voting count cell gets the class too.Greyed out, with "Available again after 3 more songs" in the artist line (.sequence-cooldown). Tapping it shows the cooldown message instead of sending a request.
.showpilot-tiebreak-candidateOne of the tied songs during a tie-break vote.Outlined in --showpilot-tiebreak-accent.

Example: your own cooldown look

.showpilot-cooldown { opacity: .5; filter: none; }
.sequence-cooldown { color: #b3b3b3; font-size: 12px; }
/* or hide the note and use the attribute instead */
.sequence-cooldown { display: none; }
.showpilot-cooldown .sequence-name::after { content: " · back " attr(data-cooldown); }

The default cooldown and badge styles have no specificity, so any rule of yours wins.

Request queue

<div data-showpilot-queue-list>
  <div class="queue-item jukebox-queue" data-seq="File name">Display Name</div>
  …
</div>
<!-- or, when nothing is waiting: -->
<div class="queue-empty">Queue is empty.</div>

.queue-item SP and .jukebox-queue RF are the same element, so either selector works. Remote Falcon also puts the cover and artist inside each queue item; ShowPilot shows the name only.

Race mode

In Race mode {PLAYLISTS} becomes tap buttons with a bar per song: .race-row, .race-cover, .race-row-info, .race-song-name, .race-song-artist, .race-bar-track, .race-bar-fill, .race-tap-btn, .race-tap-count, plus .race-instructions and .race-empty. The winner is announced in #showpilot-race-winner-overlay. Templates don't need a race section; {race-dynamic-container} is there if you want race-only content.

Pop-up messages

Add an element with one of these IDs (usually hidden with style="display:none") and ShowPilot shows it for a few seconds at the right moment; tapping it closes it. If a specific one is missing, ShowPilot shows #requestFailed with its own wording, so #requestSuccessful and #requestFailed cover everything.

IDShown when
#requestSuccessful RFA request was added (and a vote, if there's no #voteSuccessful).
#voteSuccessful SPA vote was counted.
#requestFailed RFAnything else went wrong, with ShowPilot's explanation when there's no matching element below.
#requestPlaying RFThat song has been requested as many times as the show allows.
#alreadyRequested RFThe visitor already has as many requests waiting as the show allows (Settings → Jukebox).
#queueFull RFThe queue is full.
#alreadyVoted RFThe visitor already voted this round.
#invalidLocation RFThe visitor isn't close enough to the show (or location was blocked).
#invalidLocationCode RFWrong access code.
#songPlaying SPThat song is playing right now.
#songNextUp SPThat song is already up next.
#songCooldown SPThat song is cooling down. Any element inside with data-showpilot-cooldown-text gets "after 3 more songs" / "in about 12 minutes".
#sequenceUnavailable RFUsed for a cooling-down song when the page has no #songCooldown.
#dailyVoteLimitReached RF onlyNever shown: ShowPilot has no daily vote limit.
<div id="songCooldown" class="toast" style="display:none">
  Hang on! That one comes back <span data-showpilot-cooldown-text></span>.
</div>

The voting-round winner announcement is #showpilot-winner-toast; restyle it with the --showpilot-toast-* variables.

Page states

HookOnValues / meaning
data-showpilot-mode SP<html> and <body>voting, jukebox, race, listen-only or off. Updated live, e.g. [data-showpilot-mode="off"] .vote-help { display: none; }
.showpilot-listen-only SP<body>Listen Only mode: picking is closed, and a .showpilot-listen-notice appears above the song list.
data-showpilot-pick-only SPany elementHidden while Listen Only is on, e.g. your "Tap a song to vote!" text. The builders' voting and jukebox instructions have it already. To replace the song list entirely in Listen only, use {listen-only-dynamic-container}.

Progress bar

<div class="sp-progress sp-progress--inline" data-showpilot-progress role="progressbar">
  <div class="sp-progress-track"><div class="sp-progress-fill"></div></div>
  <span class="sp-progress-time">2:41</span>
</div>

.sp-progress--idle is added when nothing is playing or the song's length is unknown. The fill color comes from Settings (or --sp-progress-color); it's set inline, so override it with !important. Where the time sits (left/right) is a setting too.

Visitor messages

{MESSAGE_BOX} gives form.sp-message-box[data-showpilot-message-box], hidden while messages are closed, so you can show something else instead:

.msg-closed { display: none; }
.panel:has(form[data-showpilot-message-box][hidden]) .msg-closed { display: block; }

{MESSAGE_WALL} gives section.sp-message-wall[data-showpilot-message-wall] with data-style = cards, bubbles or ticker. Both carry data-sp-theme = dark or light (the Box style setting). Inner classes start with sp-message- and sp-wall-. Your page's own CSS is kept away from them, so set the colors with the --sp-message-* variables.

Show buttons

{SHOW_BUTTONS} gives section.sp-show-buttons[data-showpilot-show-buttons] with data-layout = row or grid, hidden while the buttons can't be pressed (turned off, viewer control off, between songs, or the FPP plugin not connected). Inside: .sp-sb-heading, .sp-sb-list with one button.sp-sb-btn per button (.sp-sb-icon, .sp-sb-label, .sp-sb-wait countdown), and .sp-sb-status. A button waiting after a press is :disabled with .sp-sb-cooling; one just pressed gets .sp-sb-fired for a moment.

Colors: --sp-sb-bg and --sp-sb-fg (a button's own color from Settings wins), and --sp-sb-radius. To show something else while the buttons are hidden:

.buttons-closed { display: none; }
.panel:has(section[data-showpilot-show-buttons][hidden]) .buttons-closed { display: block; }

Listen on Phone

The floating headphones button is #of-listen-btn; its colors come from Settings → Listen-on-Phone (or --sp-launcher-bg / --sp-launcher-fg).

<p>Tune your radio to 98.9 FM or tap {LISTEN_BUTTON} to listen on your phone.</p>
Placeholder / attributeDoes
{LISTEN_BUTTON} SPBecomes a small 🎧 button (button.sp-listen-inline) right in your text that opens Listen on Phone, just like the corner button. It hides itself whenever the corner button is hidden (phone audio off, or the visitor hasn't passed the location check), getting the class .sp-listen-unavailable.
data-showpilot-listen SPPut it on any element of your own (a link, an image, a big button) to make it open Listen on Phone the same way.
data-sp-listen-iconPut on an empty <span> in your help text and ShowPilot fills it with a copy of the Listen button's icon and colors, so instructions always match the real button.
data-showpilot-sync-helpThe element is shown only while "sync help" is switched on in the admin (use it for "music out of sync?" tips).

Dates, countdowns and stats

These are what the Countdown, Banner, Top Songs and Tonight's Stats blocks use; they work in hand-built templates too.

AttributeDoes
data-showpilot-from="12-01"
data-showpilot-until="12-26" SP
The element only shows between those dates (both included), checked on the visitor's phone. MM-DD repeats every year (and can wrap over New Year, e.g. 12-20 to 01-05); YYYY-MM-DD is one date. Either can be left out. Add hidden too so it doesn't flash before the check.
data-showpilot-countdown="daily" with data-start="18:00" data-end="22:00"
or data-showpilot-countdown="date" with data-date="2026-12-24T18:00" SP
A countdown. Inside it, [data-showpilot-countdown-time] gets the time left and [data-showpilot-countdown-live] is shown (the time hidden) while the show is on. The box gets .sp-countdown--live then.
data-showpilot-stat="played" (or requests, votes, visitors) SPFilled with tonight's number (4 AM to 4 AM in the show's time zone), updated every minute.
data-showpilot-top-songs="tonight" (or week, all), data-count="5" SPInside it, [data-showpilot-top-songs-list] (an <ol>) gets the songs visitors picked most as li.sp-top-song with .sp-top-song-name and .sp-top-song-artist; [data-showpilot-top-songs-empty] shows while there are none.

CSS variables

Set these on :root (or any parent) to restyle ShowPilot's own parts to match your page.

VariableChanges
--showpilot-toast-bg, -text, -border, -accent, -fontThe voting winner announcement.
--showpilot-tiebreak-bg, -text, -accentThe tie-break banner and the outline on tied songs.
--sp-message-accent, --sp-message-accent-text, --sp-message-bg, --sp-message-border, --sp-message-field-bg, --sp-message-textThe message box and wall. An accent color picked in the admin still wins over --sp-message-accent.
--sp-progress-colorThe progress bar fill.
--sp-launcher-bg, --sp-launcher-fgThe Listen on Phone button.

JavaScript

Use these in onclick if you build your own buttons. Pass the song's file name (the data-seq value), not its display name.

CallDoes
ShowPilotRequest('File name')Requests the song (Jukebox). Also available as RemoteFalconRequest, OpenFalconRequest and request.
ShowPilotVote('File name')Votes for the song (Voting). Also RemoteFalconVote, OpenFalconVote and vote.

Both handle the access code, location check and pop-up messages for you.

Tips

  • Global CSS (Viewer Page → Global CSS) is added to every template, handy for one rule you want everywhere.
  • Hand-built pages can be rearranged without code in the template editor's Sections tab.
  • Remote Falcon templates work as they are. To bring one up to date with the extras on this page, use the converter at showpilot.dev/convert.
  • The preview in the template editor uses your real songs and settings, so states like cooldowns and badges show there as they will on the live page.