Skip to content

Filter movies and series with custom filters from Radarr and Sonarr - #863

Open
priyanshuppal wants to merge 1 commit into
ruddarr:developfrom
priyanshuppal:readonly-custom-filters
Open

priyanshuppal wants to merge 1 commit into
ruddarr:developfrom
priyanshuppal:readonly-custom-filters

Conversation

@priyanshuppal

@priyanshuppal priyanshuppal commented Nov 22, 2026 •

Copy link
Copy Markdown

Follow-up to #862. As suggested there, this is a basic, read-only version. It only shows the custom filters already saved in Radarr and Sonarr and applies the one you pick. Creating and editing filters, filters saved on the device, the tag picker and the filter chips are all left out.

What it does

  • The Movies and Series filter menus get a Custom Filter picker listing the server's filters (GET /api/v3/customfilter, type movieIndex in Radarr and series in Sonarr).
  • The selected filter is checked on the device, following the same rules as the web interface. It combines with the existing filter and root folder, so a movie has to match all of them.
  • Filters with a field or operator Ruddarr can't check aren't listed. Supported fields include tags, monitored, status, quality profile, genres, ratings, dates, size and path.
  • The selection is saved with the sort, so it survives a relaunch. It clears when switching instances, since filter IDs are per server. If a filter is edited on the server, the app picks up the change; if it's deleted, the app turns it off. Clear Filters and the filter badge include it.

Screenshots

iPhone 18 Pro simulator, with the mock API and the preview fixtures. The "Heists" movie filter in custom-filters.json uses keywords, which Ruddarr can't check, so it isn't listed.

Filter menu Movie filters Filtered movies
Series filters Filtered series

"Not trash, HD" in the series list combines a tag condition (tags doesn't contain trash) with a quality profile condition.

Size

600 lines added, 12 removed:

  • the matching logic in CustomFilter.swift (220)
  • the per-field mappings for movies and series (68)
  • tests (122)
  • a preview fixture (45)
  • the rest is menu and API wiring

Testing

  • CustomFilterTests covers decoding the server's filters, every supported operator, dates, and missing values.
  • The iOS test suite passes.
  • Tried on an iPhone 15 Pro Max against my own Radarr and Sonarr servers.

🤖 Generated with Claude Code

The filter menu lists the server's custom filters (/api/v3/customfilter,
"movieIndex" in Radarr, "series" in Sonarr) and applies the selected one to
the grid, checked like the web interface checks it. Filters are read-only.
Filters with conditions Ruddarr can't check aren't listed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tillkruss

Copy link
Copy Markdown
Collaborator

@priyanshuppal Nice, have you been running this on your phone a bit for testing?

@tillkruss tillkruss added the feature New feature or request label Nov 23, 2026
@priyanshuppal

Copy link
Copy Markdown
Author

I have been running this on my phone. Works fine. Tested on iPhone 15 pro max

@priyanshuppal

Copy link
Copy Markdown
Author

@tillkruss would you like me to attach a video of what it looks like? happy to do so

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants