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

Language not properly detected #11

Open
FezVrasta opened this issue Jan 4, 2018 · 2 comments
Open

Language not properly detected #11

FezVrasta opened this issue Jan 4, 2018 · 2 comments

Comments

@FezVrasta
Copy link
Contributor

I have this torrent where the language isn't detected but used as part of the title:

Hunger.Games.Il.Canto.della.Rivolta.P.2a.Ita.Eng.Ac3.Sub.Ita.Eng.x264.iCV-MIRCrew.mkv

Ideas on how to properly parse it?

@clement-escolano
Copy link
Owner

Hello,

In this case, I think refining (again) the Italian language regex would be good. Adding Ita as a matching part would produce the title Hunger.Games.Il.Canto.della.Rivolta.P.2a. To be more robust, I think we should also add Eng (and I guess ENG as well) as a regex for the English language.

There is the final P.2a part remaining though. For this one, I guess we could create a part regex but I don't understand what the a stand for here.

If the first solution (modifying the Italian and English language regex) is OK for you, I will update the the repo.

Have a good day

@FezVrasta
Copy link
Contributor Author

I often see ita all lowercase as well (also eng).

About the P.2a I wouldn't worry... it's just a very stupid way to name the torrent, it stands for "parte seconda" (second part in english).

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

No branches or pull requests

2 participants