Feature/batch disk label#21
Merged
Betanu701 merged 10 commits intofeature-utilize-dvd-label-batch-processingfrom Oct 19, 2025
Merged
Feature/batch disk label#21Betanu701 merged 10 commits intofeature-utilize-dvd-label-batch-processingfrom
Betanu701 merged 10 commits intofeature-utilize-dvd-label-batch-processingfrom
Conversation
…ries Disk Label utilization
Group TV into single folder
There was a problem hiding this comment.
Pull Request Overview
This pull request introduces a comprehensive batch rename feature for TV series disc folders, enabling users to rename multiple completed rips at once with consistent disc-label-based naming. The feature includes preview capabilities, series detection, conflict resolution, rollback functionality, and a complete audit trail.
Key Changes:
- Backend API endpoints for batch rename operations (preview, execute, rollback) and custom metadata lookup
- New database migration for tracking batch rename history with rollback support
- Dedicated UI pages with multi-step modals for batch operations
- Configuration defaults for naming style, zero-padding, and consolidation preferences
Reviewed Changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
setup/arm.yaml |
Adds three new configuration options for batch rename defaults |
arm/ui/comments.json |
Adds documentation for the new batch rename configuration options |
arm/ui/templates/nav.html |
Adds navigation link to new Batch Rename UI |
arm/ui/__init__.py |
Registers new batch_rename_ui blueprint |
arm/ui/jobs/jobs.py |
Implements /batch_rename and /batch_custom_lookup API endpoints |
arm/ui/batch_rename.py |
Core logic for preview, execute, and rollback operations |
arm/ui/batch_rename_ui/batch_rename_ui.py |
Flask route for batch rename view page |
arm/ui/batch_rename_ui/__init__.py |
Blueprint initialization |
arm/ui/batch_rename_ui/templates/batch_rename_view.html |
Full UI template with modals for batch operations |
arm/ui/static/js/database_batch_rename.js |
JavaScript for batch rename in database view |
arm/ui/static/js/batch_rename_page.js |
JavaScript for dedicated batch rename page |
arm/migrations/versions/c3d4e5f6g7h8_add_batch_rename_history.py |
Database migration for batch_rename_history table |
arm/ui/database/templates/databaseview.html |
Minor CSS fix for card header alignment |
docs/DEMO-Batch-Rename.md |
Step-by-step demonstration guide |
arm_wiki/Batch-Rename-TV-Series.md |
Comprehensive feature documentation |
arm_wiki/_Sidebar.md |
Adds links to new feature documentation |
Comments suppressed due to low confidence (1)
arm/ui/batch_rename_ui/templates/batch_rename_view.html:1
- The poster URL from API response is directly used as image src without validation. This could lead to loading malicious resources. Validate the URL is from an expected domain or use a proxy to serve external images.
{% extends "base.html" %}
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
c397ce7
into
feature-utilize-dvd-label-batch-processing
3 checks passed
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.
This pull request introduces a new batch rename feature for TV series disc folders, including both backend API endpoints and frontend UI integration. It adds a dedicated migration for tracking batch rename history, new configuration options, and updates to the navigation and settings. The changes are grouped below by theme.
Batch Rename Feature Implementation
/batch_renameto support previewing, executing, and rolling back batch rename operations for TV series disc folders, as well as retrieving recent batch operations. (arm/ui/jobs/jobs.py)/batch_rename_view) for the batch rename feature, displaying completed jobs and allowing users to initiate batch renames. (arm/ui/batch_rename_ui/batch_rename_ui.py,arm/ui/batch_rename_ui/__init__.py,arm/ui/__init__.py,arm/ui/templates/nav.html) [1] [2] [3] [4] [5]batch_rename_historytable, which tracks all batch rename operations and their outcomes. (arm/migrations/versions/c3d4e5f6g7h8_add_batch_rename_history.py)Custom Metadata Lookup for Batch Operations
/batch_custom_lookupAPI endpoint to allow searching for titles in TMDB/OMDb and applying custom identification metadata to multiple jobs at once. (arm/ui/jobs/jobs.py)Configuration and UI Enhancements
arm/ui/comments.json)arm/ui/templates/nav.html)arm/ui/database/templates/databaseview.html) [1] [2]