Curtain Call¶
Curtain Call retires movies and shows nobody is watching. A title that matches one of your rules goes into a Leaving Soon collection first. If it still matches after a grace period, Clyde deletes it everywhere and blacklists it so it isn't downloaded again. It works like Maintainerr, but runs inside Clyde. Added in 0.9.8.
Open it from Tools → Curtain Call. The page has two tabs: Leaving Soon (the cleanup itself) and Box Office (watch statistics).
Beta: it deletes for real
A Curtain Call delete removes the title from your media server, deletes its files and symlinks, and removes the torrent from your debrid service or the NZB from your mount. It can't be undone.
Before you switch it on, back up Clyde's database and config (Maintenance), your media server, and your debrid library (Debrid Backup). Then run Preview to see what it would remove.
Curtain Call works with Plex, Jellyfin, Emby and Silo, in Direct Mount and Symlinked/Local modes.
Setup¶
- Open Tools → Curtain Call.
- Tick the rules you want and set their day counts.
- Choose Whose watching counts.
- Click Preview and read the list. Preview uses the settings on screen, saved or not, and works while Curtain Call is off.
- When the list looks right, switch Curtain Call on and click Save.
Nothing happens until you switch it on. Every rule is off by default.
| Setting | Default | Description |
|---|---|---|
| Curtain Call | Off | Turns the cleanup on. Switching it off removes the Leaving Soon collection and clears every flag |
| Rules | All off | Five rules, each with its own switch and day count (below) |
| Whose watching counts | Everyone | Whose plays decide whether a title is watched (below) |
| Grace period | 14 days |
How long a title stays in Leaving Soon before it can be deleted |
| Delete at most | 25 titles per run |
Titles due beyond this wait for the next run |
Rules¶
| Rule | Default days | Matches when |
|---|---|---|
| Movies: watched long ago | 365 |
The movie was last watched more than this many days ago |
| Movies: never watched | 180 |
The movie has been in the library longer than this and nobody has played it |
| Shows: watched long ago | 365 |
The show was last watched more than this many days ago |
| Shows: never watched | 180 |
The show has been in the library longer than this and nobody has played it |
| Shows: fully watched | 0 |
Every episode has been watched, and the last play was more than this many days ago. 0 means no wait |
Whose watching counts¶
| Option | Meaning |
|---|---|
| The account owner | Only the main server account's plays count |
| Anyone | The most recent play by any viewer counts |
| Everyone (default) | Every known viewer must have watched it |
For the never watched rules, Anyone and Everyone both mean nobody has played it.
Watch history is synced from your media server by the Viewer history for recommendations task on the Automation page (every 6 hours). It needs a media server and a TMDB API key.
How it works¶
Each run (daily, or when you click Run now):
- Find candidates. Only titles Clyde added itself are considered: Collected movies and shows in Clyde's database. Anything you added to your media server some other way is never touched.
- Check the rules. Titles that match a rule and aren't excluded are flagged.
- Leaving Soon. Flagged titles go into a collection called Leaving Soon: a Plex collection, or a Jellyfin/Emby box set. Silo has no collections, so they're listed on the page instead.
- Delete. A title that has been flagged for the whole grace period and still matches is deleted.
- Unflag. A title that stops matching (someone watched it, or you excluded it) leaves the list, and its timer starts over if it's flagged again later.
A delete is the same as deleting the title from the Library page with delete from debrid on: the media server entry, the files and symlinks, and the torrent on debrid or the NZB on the mount. A torrent or NZB that another title still uses is kept.
Clyde won't delete blindly¶
- Excluded titles are never flagged or deleted.
- No deletes when watch history has stopped updating. If the history hasn't synced for 2 days, the run stops without changing anything, because an unwatched-looking title might just be missing its plays.
- At most 25 titles per run by default (Delete at most).
- Your own collection is safe. If a "Leaving Soon" collection already exists that Clyde didn't make, Clyde won't take it over or delete it.
Plays from before a title was re-added¶
Plex records each play against the entry the title had at the time. After a repair or re-add creates a new entry, those older plays point at nothing, and the title would look unwatched. Clyde matches those plays back to the title by name (and year, for movies), so they still count. A rewatched episode counts once.
Deleted titles stay deleted¶
Each title Curtain Call deletes goes on Clyde's manual blacklist, tagged Curtain Call. For a show, every season is blocked. No watchlist, list or request can add it back.
Being on a content source doesn't protect a title. Seerr keeps fulfilled requests "approved" forever, so if requests protected titles, nothing anyone ever requested would go. To keep a title, exclude it.
To let a deleted title come back:
- A new Seerr request made after the deletion lifts the block on its own, whether it arrives by webhook or on the next Seerr check.
- Allow again on the Deleted by Curtain Call list lifts it by hand.
- Removing it from the Blacklist page works too.
The Leaving Soon tab¶
| Section | What it shows |
|---|---|
| Preview | What would be flagged or deleted and why, with the plan for each title: leaving soon (days left), delete now, or due but over the per-run cap. Changes nothing |
| Leaving Soon | Titles flagged now, why, and how many days they have left |
| Deleted by Curtain Call | Titles it deleted, when, and whether they're still blocked, with Allow again |
| Excluded titles | Titles that are never flagged. Use Exclude on any row above, or add one by IMDb or TMDB ID |
The line under the buttons shows the last run: how many titles are leaving soon and how many were deleted.
Run now uses saved settings
Preview uses what's on screen. Run now uses the saved settings and warns you if there are unsaved changes.
Box Office tab¶
Watch statistics from the same history Curtain Call uses.
| Control | Options |
|---|---|
| Viewer | Everyone, or one viewer |
| Period | Last 30 days, last 90 days, last year, or all time |
| Panel | What it shows |
|---|---|
| Headline | Titles in the library, percent watched in the period, never-watched count, active viewers |
| Most watched | Titles with the most plays, with episodes watched for shows and the last watch date |
| Viewer activity | Per viewer: titles, plays, movies vs shows, last active |
| Never watched, oldest first | Titles nobody has played, with Exclude and Preview buttons |
| Library usage | Watched vs unwatched movies and shows |
Watch history covers the last 730 days. Titles without a TMDB or IMDb ID aren't counted. History keeps each viewer's last play and play count per title, so a title is in the period when its last play is, and its play count is all-time.
Schedule¶
The Curtain Call (Leaving Soon cleanup) task on the Automation page runs daily. It's marked as destructive and does nothing until Curtain Call is switched on.
Troubleshooting¶
Preview says watch history is out of date
- The Viewer history for recommendations task hasn't synced in 2 days. Check it's on in Automation, and that your media server and TMDB key are set
A title I watch keeps being flagged
- Check Whose watching counts. With Everyone, one viewer who hasn't watched it is enough to flag it. Switch to Anyone, or exclude the title
A deleted title came back
- A Seerr request made after the deletion lifts the block on purpose. Check the Deleted by Curtain Call list: it says "Allowed again" when that happened
State file
- Flags, exclusions and the last run are kept in
library_cleanup_state.jsonin your config folder. The settings are inconfig.jsonunder Library Cleanup