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>
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.
| Placeholder | Becomes | What it shows |
|---|---|---|
{NOW_PLAYING} RF | .now-playing-text | Display 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-artist | Its artist; empty when there isn't one (style :empty to hide it). |
{NOW_PLAYING_IMAGE} SP | img.now-playing-image.sequence-image | Its 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-progress | A 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-artist | Its artist; empty when there isn't one. |
{NEXT_PLAYLIST_IMAGE} SP | img.next-playlist-image.sequence-image | Its cover art. Hidden when there's no cover. |
{PLAYLISTS} RF | song rows | The 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} RF | plain number | The most requests the queue takes (Settings → Jukebox). |
{LOCATION_CODE} RF | input#locationCodeInput | The access-code box when an access code is required; nothing otherwise. |
{MESSAGE_BOX} SP | form.sp-message-box | The "send us a message" form. See Visitor messages. |
{MESSAGE_WALL} SP | section.sp-message-wall | Messages visitors chose to share, once approved. |
{SHOW_BUTTONS} SP | section.sp-show-buttons | Buttons visitors press to run an effect on the show. See Show buttons. |
{VOTES} RF | nothing | Accepted so Remote Falcon templates don't show stray text; vote counts are in each song row. |
{VOTES_REMAINING} RF only | nothing | On 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 tag | Becomes | Shown when |
|---|---|---|
{jukebox-dynamic-container} RF | data-showpilot-container="jukebox" | Jukebox mode. |
{playlist-standard-dynamic-container} RF | same as jukebox | Jukebox mode (older Remote Falcon name). |
{playlist-voting-dynamic-container} RF | data-showpilot-container="voting" | Voting mode. |
{on-demand-and-voting-dynamic-container} RF | same as voting | Voting mode (older Remote Falcon name). |
{race-dynamic-container} SP | data-showpilot-container="race" | Race mode. |
{listen-only-dynamic-container} SP | data-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} SP | data-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} RF | data-showpilot-container="locationcode" | An access code is required. |
{after-hours-message} RF | data-showpilot-container="afterhours" | Viewer control is off (outside show hours). |
{message-dynamic-container} SP | data-showpilot-container="messages" | Visitor messages are open. |
{show-buttons-dynamic-container} SP | data-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 / attribute | On | Notes |
|---|---|---|
.sequence-item SP | every song row | One selector for both modes. |
.jukebox-list, .cell-vote-playlist, .cell-vote RF | rows / vote count cell | The vote count cell also casts the vote when tapped. |
.sequence-image, .sequence-name, .sequence-artist RF | inside a row | Images come with width="40" as a hint; your CSS wins. The artist line is empty when there's no artist (use :empty). |
.sequence-votes | voting rows | A second vote count inside the name cell, hidden unless your CSS shows it. |
[data-seq] | rows, queue items | The song's file name, for CSS or scripts. |
.sequence-category-header SP, .category-label RF | category headings | Shown 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 / attribute | Means | Default look |
|---|---|---|
.showpilot-queueddata-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-cooldowndata-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-candidate | One 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.
| ID | Shown when |
|---|---|
#requestSuccessful RF | A request was added (and a vote, if there's no #voteSuccessful). |
#voteSuccessful SP | A vote was counted. |
#requestFailed RF | Anything else went wrong, with ShowPilot's explanation when there's no matching element below. |
#requestPlaying RF | That song has been requested as many times as the show allows. |
#alreadyRequested RF | The visitor already has as many requests waiting as the show allows (Settings → Jukebox). |
#queueFull RF | The queue is full. |
#alreadyVoted RF | The visitor already voted this round. |
#invalidLocation RF | The visitor isn't close enough to the show (or location was blocked). |
#invalidLocationCode RF | Wrong access code. |
#songPlaying SP | That song is playing right now. |
#songNextUp SP | That song is already up next. |
#songCooldown SP | That song is cooling down. Any element inside with data-showpilot-cooldown-text gets "after 3 more songs" / "in about 12 minutes". |
#sequenceUnavailable RF | Used for a cooling-down song when the page has no #songCooldown. |
#dailyVoteLimitReached RF only | Never 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
| Hook | On | Values / 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 SP | any element | Hidden 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.
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 / attribute | Does |
|---|---|
{LISTEN_BUTTON} SP | Becomes 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 SP | Put 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-icon | Put 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-help | The 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.
| Attribute | Does |
|---|---|
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) SP | Filled 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" SP | Inside 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.
| Variable | Changes |
|---|---|
--showpilot-toast-bg, -text, -border, -accent, -font | The voting winner announcement. |
--showpilot-tiebreak-bg, -text, -accent | The 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-text | The message box and wall. An accent color picked in the admin still wins over --sp-message-accent. |
--sp-progress-color | The progress bar fill. |
--sp-launcher-bg, --sp-launcher-fg | The 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.
| Call | Does |
|---|---|
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.