# Tautulli in your Mac’s menu bar

Tautulli records every play on your Plex server, which Plex itself doesn’t keep. This page shows what’s playing now, how much was watched over the last 30, 7 or 90 days, the shows, movies and artists played most, who watches the most, and what each person watched last. It counts as a problem only when Tautulli loses Plex or stops answering.

## What you’ll see

- **Tautulli:**
  - **Health:** in Details, your Plex server’s name and "Connected to Plex". When Tautulli can’t reach Plex, it says "Not connected to Plex", and the health card turns orange, and Legato sends a notification. It turns red once Tautulli itself stops answering. Someone watching, a transcode or an update waiting never counts as a problem.
  - **Period:** 30 days, 7 days or 90 days, under the title. Plays per day, the facts’ Plays and Most at once, the Top tabs and Top viewers follow it. Tautulli counts rolling days, today and the days before it, as its own home page does.
  - **Now playing:** each stream with its poster, title and episode, a bar with "31 of 47 min", who’s watching on which player, and whether it plays directly, as a direct stream or transcoding. A paused stream says Paused. While Tautulli can’t reach Plex, the card says so instead of "Nothing playing". On a server with Plex Pass, point at a row for **Stop**, which asks first.
  - **Plays per day:** one point a day across the period.
  - **Facts:** plays and watch time in the period ("287 · 134h watched"), the most streams at once and the day it happened, Tautulli’s version with "Update ready" when there’s one, and the Plex version.
  - **Most watched:** Top shows, Top movies and Top artists tabs, five each with their posters, plays and watch time in the period. Each row opens the title in Tautulli.
  - **Top viewers:** the five people who played the most in the period, with their plays, watch time and when they last played. Each opens their own page.
  - **Recently watched:** the four newest plays, each with its poster, who watched and when. A film stopped before the end says how far it got ("stopped at 42%").
- **Viewer:** one page for each person, titled with their name, following the same period: their plays per day, what they watched in the period and all time, when they last played, the players they use most, and their last seven plays.

### Status

- Watches whether Tautulli can reach Plex.
- Orange while Tautulli isn’t connected to Plex.
- Red once Tautulli stops answering.
- Someone watching, a transcode or an update waiting never counts as a problem.
- Notifies you when it turns orange or red.

## How it connects

The pages read Tautulli’s API with your API key, sent as the `X-Api-Key` header, so it never sits in an address.

| Request | Pages | When | What it supplies |
| --- | --- | --- | --- |
| `GET /api/v2?cmd=get_activity` | Tautulli | Once a minute | What’s playing, where it’s up to, and how it plays. |
| `GET /api/v2?cmd=server_status` | Tautulli | Once a minute | Whether Tautulli can reach Plex. |
| `GET /api/v2?cmd=get_server_info` | Tautulli | Once a minute, and every 15 minutes | The Plex server’s name and version, and whether it has Plex Pass, which Stop needs. |
| `GET /api/v2?cmd=get_history&length=4&include_activity=0` | Tautulli | Once a minute | The four newest plays. |
| `GET /api/v2?cmd=get_plays_by_date&time_range={period.id}` | Tautulli | Every 15 minutes | Plays per day across the period. |
| `GET /api/v2?cmd=get_plays_by_date&time_range={period.id}&y_axis=duration` | Tautulli | Every 15 minutes | Time watched per day, for the watch time. |
| `GET /api/v2?cmd=get_home_stats&stat_id=most_concurrent&time_range={period.id}` | Tautulli | Every 15 minutes | The most streams at once. |
| `GET /api/v2?cmd=get_tautulli_info` | Tautulli | Every 15 minutes | Tautulli’s version. |
| `GET /api/v2?cmd=update_check` | Tautulli | Every 15 minutes | Whether an update is ready. Tautulli asks GitHub itself, at most every few hours. |
| `GET /api/v2?cmd=get_home_stats&stat_id=top_tv&stats_type=plays&stats_count=5&time_range={period.id}` | Tautulli | Every 15 minutes | The most watched shows (and `top_movies`, `top_music` and `top_users` for films, artists and viewers). |
| `GET /api/v2?cmd=get_user&user_id={param.user}` | Viewer | Every 15 minutes | The viewer’s name. |
| `GET /api/v2?cmd=get_plays_by_date&time_range={period.id}&user_id={param.user}` | Viewer | Every 15 minutes | Their plays per day (and `y_axis=duration` for their watch time). |
| `GET /api/v2?cmd=get_user_watch_time_stats&user_id={param.user}&query_days=0` | Viewer | Every 15 minutes | What they’ve watched all time. |
| `GET /api/v2?cmd=get_user_player_stats&user_id={param.user}` | Viewer | Every 15 minutes | The players they use most. |
| `GET /api/v2?cmd=get_history&user_id={param.user}&length=7&include_activity=0` | Viewer | Every 15 minutes | Their last seven plays. |
| `GET /api/v2?cmd=pms_image_proxy&img={thumb}&width=300&height=450` | Tautulli, Viewer | While the panel shows the row | Posters, through Tautulli from your Plex server, kept on this Mac. |
| `POST /api/v2?cmd=terminate_session&session_key={id}&message=…` | Tautulli | When you press Stop and confirm | Stops that stream; the viewer sees "The server owner has ended the stream." |

That’s about 280 requests an hour with the overview open, plus a poster the first time each one shows. Tautulli’s API key can do anything Tautulli’s web page can, including deleting history; these pages only read, apart from Stop. [Tautulli’s API reference](https://github.com/Tautulli/Tautulli/wiki/Tautulli-API-Reference) lists every command.

[Sources and buttons](https://legatobar.com/docs/sources.md) explains each part of a page.

## Set it up

1. **Turn on the API.** In Tautulli, open Settings → Web Interface, tick **Enable API** under API, save, and copy the **API key** shown there.
2. **Save it in Legato.** In Settings → Secrets, save the key under `tautulli`, bound to your Tautulli’s address. You can also link a [1Password reference](https://legatobar.com/docs/1password.md).
3. **Add the pages.** Paste the prompt into your agent, or download the two pages and run `/Applications/Legato.app/Contents/Helpers/legato set tautulli-user tautulli-user.json`, then `legato set tautulli tautulli.json`. Keep the ID `tautulli-user`: every viewer row opens it with that person’s Tautulli user id.
4. **Point them at Tautulli.** Change `http://tautulli.local:8181` to your Tautulli’s address on every source and link of both pages. Tautulli answers on port 8181 by default. If you reach it through a reverse proxy at a path (Tautulli’s **HTTP Root**, such as `/tautulli`), keep the bare address in `url` and add `"base": "/tautulli"` to each source; Legato adds it to requests, Stop and posters. The links that open titles in Tautulli are full addresses, so add the path to them too (`http://media.example.com/tautulli/info?…`). If you’ve turned on Tautulli’s own HTTPS with its self-signed certificate, Legato can trust it only at an IP address or a `.local` name.

The cards fill within a minute. A mistyped key is the usual reason they don’t: the page then notes that Tautulli refused it.

### Prompt for your agent

```prompt
Add 2 Legato pages for Tautulli, starting from https://legatobar.com/examples/tautulli.json, https://legatobar.com/examples/tautulli-user.json. Use the page IDs tautulli, tautulli-user if they’re free: the pages link to each other by those IDs, so with any other ID, change the matching legato://page/ links.

Add the pages as they are, keeping their page IDs, and change http://tautulli.local:8181 on every source and link of both pages to my Tautulli’s address. I’ll save my API key as tautulli in Settings → Secrets myself. Don’t press Stop to test it.

Use the local Legato MCP tools or /Applications/Legato.app/Contents/Helpers/legato.
Use list_pages first and choose an unused page ID. Do not overwrite an existing page. If I explicitly ask to update one, read its full body with get_page, preserve unrelated cards and settings, and use if_match with that version. On version_mismatch, read again before merging.
Ask me only for non-secret setup details that are missing. Never ask me to paste a password, token or API key into chat, page JSON or command arguments. Tell me to save it in Settings → Secrets for the service host, or link it from 1Password there.
Use the downloadable page, not the illustration’s sample data. Never invent readings. Fix any invalid_page paths and verify that the page loads. Do not press buttons that change the service or real devices to test it.
```

### Download the pages

- [Download Tautulli (tautulli.json)](https://legatobar.com/examples/tautulli.json)
- [Download Viewer (tautulli-user.json)](https://legatobar.com/examples/tautulli-user.json)

## Questions

### Do I need Legato’s Plex page too?

No. This page has its own Now playing, so it works alone. The Plex page adds what was just added and your libraries’ counts, which Tautulli doesn’t keep.

### Why don’t I see Stop on a row?

Tautulli stops a stream only for a Plex account with Plex Pass, so Stop shows only then. The viewer sees "The server owner has ended the stream."

### Why can’t I delete history from here?

Deleting a play can’t be undone, and the history is what Tautulli is for. Do it in Tautulli’s History page if you need to.

### Why does Top artists list artists, not albums?

Tautulli ranks music by artist, so that’s what the tab shows. The poster is the artist’s picture, or a note icon when Plex has none.

### What happens to the posters?

Legato fetches each poster through Tautulli with your API key, only while it’s on screen, and keeps up to 50 MB of them on this Mac, the oldest going first. They never go anywhere else.

Legato is independent and isn’t affiliated with or endorsed by Tautulli or Plex.

## Verification

The pages were filled from Tautulli 2.19.1 on 16 Nov 2026, watching a Plex Media Server 1.43.5 with made-up players and 45 days of made-up plays by five invented viewers. That Plex server wasn’t signed in to Plex, so Stop is checked by tests with made-up answers rather than live. Losing Plex was checked live by stopping the server. Illustrations use made-up titles, people and numbers. See the [service index](https://legatobar.com/services/) for other examples.
