Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: when normalizing a movie title, do not replace the letter й #8173

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

msergein
Copy link
Contributor

@msergein msergein commented Mar 4, 2023

Database Migration

NO

Description

when normalizing a movie title, do not replace the Cyrillic letter й

Radarr uses normalization to search and compare movie titles: all diacritical letters are replaced with normal letters. But for the Cyrillic letter "й", the replacement for "и" is incorrect, because it turns out different words, and most trackers in Cyrillic do not understand such a replacement.

Example

film Гуляй, Вася! (2017)
https://www.themoviedb.org/movie/430263

search string after normalization:
Гуляи Вася 2017
movie not found:
rutracker.org
0day.kiev.ua

but finds with the letter й:
rutracker.org
0day.kiev.ua

it is necessary to leave the letter й because the combination letter + combinable unicode diacritic also does not find the movie, an example for Гуляй Вася 2017, where й = и + \u0306:
rutracker.org
0day.kiev.ua

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.

None yet

1 participant