Skip to content

plex: Library sections from the root folders, renames and deletes - #24

Merged
andsens merged 1 commit into
mainfrom
servarr-plex
Nov 19, 2026
Merged

andsens merged 1 commit into
mainfrom
servarr-plex

Conversation

@andsens

@andsens andsens commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator
  • Library sections: homelab.plex.integrations.{sonarr,radarr}.library (enable, name, language). The integration job creates a section (POST /library/sections, agents tv.plex.agents.series and tv.plex.agents.movie) from the root folders of the app that lie in a volume of Plex, as long as no section has any of them. It never changes or removes a section. Root folders outside the volumes of Plex get an evaluation warning.
  • Notifications: also on renames and on deleted episode or movie files, series and movies (fields as Sonarr v4.0.20.3014 and Radarr v6.4.4.10685 report them). The integration settings now override these defaults instead of the other way around.

nix flake check passes; the generated scripts pass shellcheck.

🤖 Generated with Claude Code

The Sonarr and Radarr integrations create a library section for the root folders Plex has a volume for, while no section has any of them; they never change or remove one. Plex now also hears of renames and of deleted files, series and movies.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@andsens
andsens merged commit 8628163 into main Nov 19, 2026
2 checks passed
@andsens
andsens deleted the servarr-plex branch November 19, 2026 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant