Skip to content

add: RMC support#1326

Open
Audionut wants to merge 2 commits into
masterfrom
rmc
Open

add: RMC support#1326
Audionut wants to merge 2 commits into
masterfrom
rmc

Conversation

@Audionut
Copy link
Copy Markdown
Owner

@Audionut Audionut commented Mar 30, 2026

Summary by CodeRabbit

  • New Features
    • Added RMC tracker for movie submissions
    • RMC submissions limited to movies released in 2000 or earlier
    • Moderation queue opt-in option available for RMC uploads

@github-actions
Copy link
Copy Markdown

Thanks for taking the time to contribute to this project. Upload Assistant is currently in a complete rewrite, and no new development is being conducted on this python source at this time.

If you have come this far, please feel free to leave open, any pull requests regarding new sites being added to the source, as these can serve as the baseline for later conversion.

If your pull request relates to a critical bug, this will be addressed in this code base, and a new release published as needed.

If your pull request only addresses a quite minor bug, it is not likely to be addressed in this code base.

Details for the new code base will follow at a later date.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 30, 2026

📝 Walkthrough

Walkthrough

A new RMC tracker implementation has been added to the codebase as a UNIT3D subclass, including configuration defaults, category/type/resolution ID mapping methods, validation checks, and name sanitization logic. The tracker has been registered in the tracker class mapping and API allowlist.

Changes

Cohort / File(s) Summary
Configuration Addition
data/example-config.py
Added RMC tracker to the TRACKERS list comment and created a new TRACKERS["RMC"] configuration block with link_dir_name, api_key, anon, and modq fields.
Tracker Implementation
src/trackers/RMC.py
New UNIT3D-based tracker class with methods for category ID mapping (MOVIE), type ID mapping (supporting source, disc, category, sd, and type fields), resolution ID mapping, validation checks (movies only, years ≤ 2000 unless unattended), mod queue opt-in flag setting, and torrent name sanitization.
Tracker Registration
src/trackersetup.py
Imported RMC class and added entries to tracker_class_map and api_trackers to register it as an available API-capable tracker.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~22 minutes

Possibly related PRs

  • Add Aura4K #1130: Adds a new UNIT3D-based tracker with similar configuration and registration patterns in data/example-config.py and src/trackersetup.py.

Poem

🐰 A hopping new tracker joins the warren today,
With RMC bouncing along the upload way,
Categories mapped and validations tight,
Movies from yesterday, names sanitized right! ✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'add: RMC support' directly and clearly describes the main change: adding support for a new tracker called RMC. It is specific, concise, and accurately reflects the primary objective of the pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch rmc

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

coderabbitai[bot]

This comment was marked as outdated.

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