Skip to content

Conversation

@tsnearly
Copy link

Fixes #409

Changes

  • Created merge_titles function, ensuring merged episode titles and sort-titles are cleaner if applicable.
  • Introduced MERGE_TITLE_PATTERN to match various part indicators in episode titles.
  • The merging process now extracts a base title from the first matching episode and appends it appropriately, avoiding duplicate or confusing titles in the merged result.

Impact

  • Merged episodes will have cleaner titles if they are continuations.
  • Added dependency on module re

Copy link
Author

@tsnearly tsnearly left a comment

Choose a reason for hiding this comment

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

This PR improves title/summary merging logic and episode group handling, adds clarity, and makes the script more robust. The new merge_titles function provides more intelligent title merging for multi-episode cases, and general code quality is improved.

@tsnearly tsnearly marked this pull request as draft September 7, 2025 17:55
@tsnearly tsnearly marked this pull request as ready for review September 7, 2025 17:58
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.

Request - Better combine the episode names for multi-part episodes

1 participant