Skip to content

Conversation

gustavkj
Copy link

@gustavkj gustavkj commented Sep 11, 2025

Closes: #105

Implements auto-detection of soundtrack releases based the title based on a wide range of common title patterns. Supports both common title formats in English (which often are used for releases in other languages as well), German, Swedish, and Norwegian.

I've added test cases for a wide variation of soundtracks.

In contrast to the existing patterns for detecting release group types from the title, the pattern does not always capture the type and as such I had to come up with a way of associating the pattern to a type. I think this can probably be useful for when detecting more release group types from titles in the future.

@gustavkj
Copy link
Author

gustavkj commented Sep 14, 2025

Sorry, I see the test case failed now. Must have been a last minute change I did, since titles starting and ending with OST or O.S.T. ought to be case sensitive (because Ost is a word in some languages, this would give more false positives than many of the other title formats) and as such now the case in-sensitive test is failing for those cases.

Copy link
Owner

@kellnerd kellnerd left a comment

Choose a reason for hiding this comment

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

Thank you, that looks promising. I'm not at home right now, so it might take me until next week to review your contributions properly.

@kellnerd kellnerd added the feature New feature or request label Sep 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto-select "Soundtrack" secondary type based on release title
2 participants