Maintainerr
Maintainerr makes managing your media easy. No longer will you have to worry about your precious hard drive space being taken up by media, that isn't even being watched.
Overview
Maintainerr configuration is non-intuitive.
Default user state is Plex owner
Plex owner account state is generally used for per-user item status (e.g. isWatched) etc. When using new matches, always confirm with a Plex owner user and a standard user with known values for specific media to ensure the rule is matching appropriately.
In most cases it probably is not.
Watched status
Plex treats marked as watched and viewed (fully view by a user) as two separate states. See Maintenance: Reality Shows for an example that appropriately handles this.
Disable Telemetry
No identifying information is sent, disable anyways.
Set TELEMETRY=off in runtime environment.
Rules
Evaluate media on server based on parameters set. If a media item matches a rule, it is added to a collection.
Define constraints around items placed in a collection. Items are operated on in bulk at the scale of the item placed (e.g. episodes will be per-episode, season is per-season, series is per-series).
Changing the item type will remove all items from the collection
Collections
A collection container will be auto-generated when a rule is initially created. Items in this collection will be deleted (or whatever action is specified by the rule). Collections are visible to all Plex users on the collections tab.
Changing rule item type will remove all items from the collection
Overlay
Enable overlays and match with Plex style.
Overlays ➔ Settings
- Enable Overlay: ✔
Must be enable and saved before any other actions. Explicitly save.
Settings ➔ Jobs
- Overlay Handler: 15 0-23/8 * * *
Explicitly save.
Overlays ➔ Existing Templates ➔ Classic Pill ➔ Edit
- Rectangle:
- X: 30
- Y: 60
- W: 450
- H: 100
- Rotation: 0
- Opacity: 1
- Shape: Rectangle
- Fill: #E5A00D
- Stroke: #00000000
- Stroke Width: 0
- Corner Radius: 35
- Leaving {date}:
- Position:
- X: 30
- Y: 60
- W: 450
- H: 100
- Transform:
- Rotation: 0
- Opacity: 1
- Segments:
- Leaving
- {date}
- Font:
- Font: Inter-Bold.ttf
- Size: 55
- Color: #1C1C1C
- Weight: bold
- Align: center
- V-Align: middle
- Background:
- Color: #00000000
- Radius: 0
- Padding: 0
- Date / Days Config:
- Date Format: MMM d
- Language: en-US
- Today text: today
- 1 day text: in 1 day
- N days text: in {0} days
- Day Suffix: ✘
- Shadow: ✔
- Uppercase: ✘
- Position:
- Save As: Classic Pill (Plex)
Set as default.
Overlays ➔ Existing Templates ➔ Title Card Pill ➔ Edit
- Rectangle:
- X: 40
- Y: 40
- W: 500
- H: 100
- Rotation: 0
- Opacity: 1
- Shape: Rectangle
- Fill: #E5A00D
- Stroke: #00000000
- Stroke Width: 0
- Corner Radius: 35
- Leaving {date}:
- Position:
- X: 40
- Y: 40
- W: 500
- H: 100
- Transform:
- Rotation: 0
- Opacity: 1
- Segments:
- Leaving
- {date}
- Font:
- Font: Inter-Bold.ttf
- Size: 55
- Color: #1C1C1C
- Weight: bold
- Align: center
- V-Align: middle
- Background:
- Color: #00000000
- Radius: 0
- Padding: 0
- Date / Days Config:
- Date Format: MMM d
- Language: en-US
- Today text: today
- 1 day text: in 1 day
- N days text: in {0} days
- Day Suffix: ✘
- Shadow: ✔
- Uppercase: ✘
- Position:
- Save As: Title Card Pill (Plex)
Set as default.
Examples
Only enable Sonarr/Plex actions after validation
Run the rule and check the auto-populated collection to ensure the correct episodes appear before enabling deletion!
Maintenance: Reality Shows
Cleanup reality shows that are watched at least one time. An episode will be marked for deletion after it has at least one full view and is marked watched by the Plex owner. Deletion occurs after 30 days.
This is not surfaced to users home screens.
Rules ➔ New Rule ➔ General
- Name: Maintenance: Reality Shows
- Description: {DESCRIPTION ABOVE}
- Library: TV Shows
- Media Type: Episodes
- Sonarr Server: {SONARR}
- Sonarr Action: Unmonitor and delete episode
- Take action after days: 30
Rules ➔ New Rule ➔ Options
- Active: ✔ # Disable to run tests.
- Show on Plex library recommended: ✘
- Show on Plex home: ✘
- Enable Overlays: ✔
- Overlay template: Default titlecard template
- Use Rules: ✔
- Custom Collection: ✘
- Notifications: ✘
- Keep logs for months: 6
- Sort title: {DEFAULT}
- Collection items sort: Delete Soonest
- Rule handler schedule override: ✘
- Custom Collection Poster: ✘
Rules ➔ New Rule ➔ Rules
- Rule 1:
- First Value: Sonarr - Series title
- Action: Contains (Exact list match)
- Second Value: Text
- Custom Value: ["The Real Housewives", "Love Island", "Below Deck", "The Valley", "The Great American Baking Show", "The Great British Bake Off", "America's Sweethearts", "1000-lb Sisters", "Vanderpump Rules", "Sister Wives", "Selling the OC", "The Proof is Out There", "Project Runway", "The Amazing Race", "Married at First Sight"] # JSON list. TODO: Add Amazing race.
- Rule 2 (AND):
- First Value: Plex - Total views
- Action: Bigger
- Second Value: Number
- Custom Value: 0
- Rule 3 (AND):
- Operator: AND
- First Value: Plex - Is Watched
- Action: Equals
- Second Value: Boolean
- Custom Value: True
Shows Leaving Soon
Shows added to the tv-culling playlist are added to this collection and are slated to be deleted after 90 days.
Rules ➔ New Rule ➔ General
- Name: Shows Leaving Soon
- Description: Shows in this collection are slated to be deleted after 90 days.
- Library: TV Shows
- Media type: Seasons
- Radarr Server: {SONARR}
- Radarr Action: Unmonitor and delete existing episodes
- Take action after days: 90
Rules ➔ New Rule ➔ Options
- Active: ✔ # Disable to run tests.
- Show on Plex library recommended: ✔
- Show on Plex home: ✔
- Enable Overlays: ✔
- Overlay template: Default poster template
- Clean up leftover folders: ✘
- Force delete Seerr request: ✔
- Use Rules: ✔
- Custom Collection: ✘
- Notifications: ✘
- Keep logs for months: 6
- Sort title: {DEFAULT}
- Collection items sort: Delete Soonest
- Rule handler schedule override: ✘
- Custom Collection Poster: ✘
Rules ➔ New Rule ➔ Rules
- Rule 1:
- First Value: Plex - [list] Playlists media is present in (titles)
- Action: Equals
- Second Value: Text
- Custom Value: tv-culling
Movies Leaving Soon
Movies added to the movie-culling playlist are added to this collection and are slated to be deleted after 90 days.
Rules ➔ New Rule ➔ General
- Name: Movies Leaving Soon
- Description: Movies in this collection are slated to be deleted after 90 days.
- Library: Movies
- Radarr Server: {RADARR}
- Radarr Action: Unmonitor and delete files
- Take action after days: 90
Rules ➔ New Rule ➔ Options
- Active: ✔ # Disable to run tests.
- Show on Plex library recommended: ✔
- Show on Plex home: ✔
- Enable Overlays: ✔
- Overlay template: Default poster template
- Add import list exclusions: ✔
- Clean up leftover folders: ✘
- Tag this content in Radarr: ✘
- Force delete Seerr request: ✔
- Use Rules: ✔
- Custom Collection: ✘
- Notifications: ✘
- Keep logs for months: 6
- Sort title: {DEFAULT}
- Collection items sort: Delete Soonest
- Rule handler schedule override: ✘
- Custom Collection Poster: ✘
Rules ➔ New Rule ➔ Rules
- Rule 1:
- First Value: Plex - [list] Playlists media is present in (titles)
- Action: Equals
- Second Value: Text
- Custom Value: movie-culling