Skip to content

Disk Label utilization#16

Merged
Betanu701 merged 5 commits intofeature-utilize-dvd-label-batch-processingfrom
feature/utilize-disk-label-tv-series
Oct 19, 2025
Merged

Disk Label utilization#16
Betanu701 merged 5 commits intofeature-utilize-dvd-label-batch-processingfrom
feature/utilize-disk-label-tv-series

Conversation

@Betanu701
Copy link
Copy Markdown
Owner

@Betanu701 Betanu701 commented Oct 19, 2025

This pull request introduces a new opt-in feature for deterministic TV series folder naming based on disc labels, making TV series organization more predictable and automation-friendly. The implementation includes configuration, migration, model, and logic changes, along with documentation and UI comments to support the feature. The system falls back to the previous naming scheme if parsing fails or the feature is disabled, ensuring backward compatibility.

New Feature: Disc Label-Based TV Series Folder Naming

Configuration & Database Support

  • Added the USE_DISC_LABEL_FOR_TV configuration option to arm.yaml, enabling users to opt into disc label-based naming for TV series output folders.
  • Updated database schema and models to support the new configuration option, including a migration script and a new column in the config table and model. [1] [2] [3]

TV Series Folder Naming Logic

  • Implemented logic in arm_ripper.py and utils.py to parse disc labels for season/disc identifiers and generate normalized, deterministic folder names for TV series (e.g., Breaking_Bad_S1D1). Falls back to standard naming if parsing fails or the feature is disabled. [1] [2] [3] [4]

Documentation & UI Support

  • Added detailed documentation in arm_wiki/Using-Disc-Label-for-TV-Series.md, covering configuration, supported patterns, examples, troubleshooting, and best practices for the new feature.
  • Updated UI comments in comments.json to describe the new configuration option and its behavior for end users.

Changelog

  • Documented the new feature and its capabilities in the project changelog.# Title (remove section)
    Add either feature or bugfix to the title inline with the software version increment

@Betanu701 Betanu701 requested a review from Copilot October 19, 2025 19:35
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Introduces a new opt-in feature for deterministic TV series folder naming based on disc labels, providing predictable folder structures by parsing season/disc identifiers from volume labels and generating normalized folder names like "Breaking_Bad_S1D1" instead of "Breaking Bad (2008)".

  • Adds USE_DISC_LABEL_FOR_TV configuration option with database migration support
  • Implements intelligent disc label parsing supporting 15+ common label formats with fallback to standard naming
  • Includes comprehensive test coverage, detailed documentation, and UI support for the new feature

Reviewed Changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
test/unittest/test_disc_label_tv.py Complete unit test suite covering parsing, normalization, and integration scenarios
setup/arm.yaml Configuration option with detailed comments explaining the feature behavior
arm_wiki/Using-Disc-Label-for-TV-Series.md Comprehensive documentation with examples, troubleshooting, and best practices
arm/ui/comments.json UI comment describing the configuration option for end users
arm/ripper/utils.py Core implementation with parsing, normalization, and folder name generation functions
arm/ripper/arm_ripper.py Integration of TV folder naming logic into the main ripping workflow
arm/models/config.py Database model update to support the new configuration column
arm/migrations/versions/* Database migration script and version update
CHANGELOG.md Feature documentation in project changelog

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Betanu701 and others added 4 commits October 19, 2025 15:38
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…tion

Co-authored-by: Betanu701 <5798012+Betanu701@users.noreply.github.com>
…elines

Fix flake8 linting issues to comply with contribution guidelines
@Betanu701 Betanu701 merged commit 6fa7771 into feature-utilize-dvd-label-batch-processing Oct 19, 2025
3 checks passed
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.

3 participants