Track Fly
macOS menu bar app · v1.4

Now playing, as JSON.

Track Fly turns whatever plays in Apple Music, Spotify, Roon or Plex into one JSON feed on your local network. Read it from a microcontroller, a home automation hub, a stream overlay or a script.

Download for macOS macOS 15+ · free
GET /now200 · application/json
$ curl -s http://studio.local:8765/now
{
  "source":     ,
  "state":      ,
  "title":      ,
  "artist":     ,
  "album":      ,
  "duration":   ,
  "position":   ,
  "progress":   ,
  "text":       
}

Bring your own screen.

Track Fly doesn't care what reads it. It answers plain HTTP with open CORS, so a $4 microcontroller and a browser tab get the same feed.

A REST sensor whose state is the current line, with the rest as attributes. Dim the lights when state turns playing.

# configuration.yaml
sensor:
  - platform: rest
    name: Now Playing
    resource: http://studio.local:8765/now
    value_template: "{{ value_json.text }}"
    json_attributes: [state, source, title, artist, album, progress]
    scan_interval: 5

Four players, one shape.

Every source answers with the same fields, so your display never needs to know where the music comes from. Turn each one on or off in Settings. When two play at once, the one that started last wins, or the one you prefer.

Apple Music

AppleScript · 1.5 s

Reads the Music app while it is open. Radio streams show their stream title.

Spotify

AppleScript · 1.5 s

Reads the Spotify desktop app. Track Fly never opens it for you.

Roon

Roon extension

Finds Roon on your network by itself. Enable it once in Roon under Settings › Extensions, then follow one zone or whichever is playing.

Plex

Plex Media Server

Sees music on any Plex player: Plexamp, phone, TV. Filter to one player if you like.

The fields.

Stable keys, sensible types, nothing nested. Values you can trust a display with.

KeyTypeMeaning
statestringplaying, paused, stopped or not_running
sourcestringmusic, spotify, roon or plex
title · artist · albumstringThe track, as the player names it
duration · positionsecondsTrack length and playhead, one decimal
progress0 – 1Position divided by duration, for progress bars
textstring“Artist - Title (Album)”, ready to show
text_asciistringThe same line in plain ASCII
zonestringRoon zone or Plex player, when there is one
track_number · track_countnumberPlace on the album, 0 when unknown
playlist · queue_index · queue_countstring · numberThe playlist playing and the place in it (Apple Music)
queue_remainingnumberTracks left in the queue (Roon), null when unknown
volume0 – 100Player or Roon zone volume, null when it can't be set
idstringChanges when the track changes

Endpoints · port 8765

  • /nowThe current track as JSON.
  • /textOne line of text, empty when nothing plays.
  • /sourcesEvery enabled source at once.
  • /zonesWhat a display can follow: every source and Roon zone.
  • /control?action=playpause, next, prev or volume&value=40. Roon, Apple Music and Spotify.
  • /healthIs it up.

?ascii=1 on any endpoint turns Sigur Rós into Sigur Ros. &source=plex pins one source, &zone=Kitchen follows one Roon zone. Track Fly announces itself on the network as _trackfly._tcp, so a display can find the Mac even after its address changes.

A screen of its own.

Free firmware for the Waveshare ESP32-S3-Touch-LCD-3.49, a 640×172 bar with a battery and a touchscreen. It reads the feed and keeps to the dots: the playing one lifts out of the row.

Set up from your phone with a QR code · updates through Track Fly Firmware downloads →

One tap for controls

Previous, play/pause, next, and a row of dots that becomes the volume. A short lock after opening keeps a shaky second tap from skipping.

Follows a room

Pick a Roon zone or a player on the screen or on its web page, or let it show whatever plays.

Knows where it is

Album or playlist position in the top line, a clock when nothing plays, a night mode, and it turns the picture when you flip it over.

Sleeps on battery

Nothing playing for a few minutes and it goes dark, checking every two minutes whether the music is back.

Finds the Mac by itself

If the Mac's address changes, the display looks for Track Fly on the network and follows it.

Updates in one click

Track Fly fetches new firmware from this site, checks it, and offers it to every display it sees.

Small on purpose.

A menu bar icon, a settings window and a tiny server. No Dock icon, no cloud, no account.

Never opens your players

Apple Music and Spotify are only read while you already have them open.

Only what you switch on

Disabled sources are never polled, and Roon is only contacted while it is on.

Stays on your network

The feed is served from your Mac to your LAN. Nothing is sent anywhere else.

Your Plex token stays local

It lives in the macOS keychain, not in a preferences file.

A menu bar icon that tells you

A dot lifts out of the row while music plays and turns hollow on pause.

Open at login

One switch in Settings, off until you turn it on.

Get Track Fly.

Signed and notarized for macOS 15 or later. Open it, allow access to Music and Spotify when macOS asks, and copy the feed address from the menu bar.

Download Track Fly 1.4 One app, nothing else to install