Repository navigation
feat(mappings): per-user default quality profiles - #140
Open
kylepitcock wants to merge 3 commits into
Open
kylepitcock wants to merge 3 commits into
kylepitcock wants to merge 3 commits into
Conversation
Each user mapping can now have a default Radarr (movie) and Sonarr (TV) quality profile, chosen from dropdowns in the user mappings tab. Requests from that user use it unless /request specifies a quality explicitly. Re-saving a mapping preserves its profiles. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
kylepitcock
force-pushed
the
feat/per-user-quality
branch
from
October 23, 2026 17:23
8754d2e to
ee5bc0a
Compare
Contributor
|
Nice feature, one bug to fix: Anime routing is bypassed. Smaller points:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/requestspecifiesquality:explicitly (the explicit option always wins). Applies to instant/requestand to the Request button from/search.profileId|serverId|typeformat, so a profile also sets its server, same as the/requestquality option.config.jsonasqualityProfiles: { movie, tv }. Re-saving a mapping (e.g. the automatic metadata refresh) now preserves it.Changes
routes/userMappingRoutes.js:GET /api/quality-profiles(uses the configured Seerr) andPUT /api/user-mappings/:discordUserId/quality-profiles(validates the format and that movie→radarr, tv→sonarr).bot/botUtils.js:withUserQuality()fills in the user's default when none was given.bot/interactions.js: uses it in the instant request and request-button paths.web/script.js,web/style.css: dropdowns in the mapping rows.Notes
profileId/serverIdwhen auto-approve is on (existing behaviour insendRequest), so the profile has no effect with auto-approve off.node --check); not tested against a live Seerr/Radarr/Sonarr.🤖 Generated with Claude Code