Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Follow-ups to #3095: Radarr movieTitle/movieId scoping parity + docs for the new Sonarr rank properties #3220

Description

@enoch85

Follow-ups deferred from PR #3095 (Sonarr episodeFileRank + seriesTitle/seriesId scoping), which shipped rank-based episode retention for Sonarr.

1. Radarr scoping parity: movieTitle / movieId

PR #3095 added seriesTitle (TEXT) and seriesId (NUMBER) as scope handles so a destructive rule can be pinned to one show in the rule builder. Radarr has no equivalent properties, so movie rules still need out-of-band scoping (tags, collections).

  • Add movieTitle (TEXT) and movieId (NUMBER) to the Radarr application in rules.constants.ts with matching getter cases in radarr-getter.service.ts (read from the resolved movieResponse, same not-tracked -> null / transient -> undefined contract).
  • Constants-driven only; no UI work expected (same as feat(rules): add Sonarr episodeFileRank with seriesTitle/seriesId scoping #3095).
  • Note: TEXT EQUALS is case-insensitive in the comparator, so the id property is the rename-proof handle, mirroring the Sonarr pair.

2. Documentation

Add the three new Sonarr properties to the rule-property list on docs.maintainerr.info:

  • Rank among on-disk episodes per show by air date (newest = 1) - pool semantics (on-disk only, specials/unaired/null-date excluded, fail-closed), and the recommended pairing with a scope rule (Series title / Series ID).
  • Series title / Series ID - scoping usage and the case-insensitivity note above.

Document the Radarr pair in the same pass once (1) lands.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions