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

[suggestion] use anitomy to parse media titles #84

Open
robertgzr opened this issue Jul 23, 2020 · 7 comments
Open

[suggestion] use anitomy to parse media titles #84

robertgzr opened this issue Jul 23, 2020 · 7 comments

Comments

@robertgzr
Copy link

It seems to me that one of the biggest issues with detecting the actual titles from filenames is the often unpredictable naming scheme used by releases.

How about using anitomy to hand off this task? There seems to be a csharp port around that could be used if wrapping is not an option...

@Rassilion
Copy link

Also https://github.com/erengy/anime-relations (same owner) can be used for fixing absolute numbering issues. They created a season map table for anime shows, like "x anime 12-24 => x anime S2 1-12" or "y anime 13 => y anime OVA episode 0"

@senritsu
Copy link

This sounds like a great idea, I will try to see if I can get a proof of concept running if I find some time.

@senritsu
Copy link

Just as a heads up: initial testing looks good, but there is still a lot of work to do. Some of the providers are not exactly in a fully functional state, which complicates things a bit. Anitomy on its own might not yield massively improved recognition, but should improve some edge cases. I am not completely sure how it would work to integrate the anime-relations list, but I assume I should have a clearer idea some time soon.

senritsu added a commit to senritsu/jellyfin-plugin-anime that referenced this issue Nov 22, 2020
Not completely sure if this works 🤷‍♂️ If someone knows, feel free to comment on the PR or in jellyfin-archive#84
@GNY-001F2
Copy link

Would this also help fix episode numbers being incorrectly identified? For the life of me I have been unable to automagically identify any episode greater than 100. Plus there are SO MANY series where every episode gets plastered with the metadata for the first episode...

Oh, and some kind of NCOPED detection would also be nice.

@senritsu
Copy link

senritsu commented Nov 23, 2020

Believe me when I say, I certainly hope so 😩 I also have tons of issues (with emby previously, but mostly unchanged with jellyfin) with duplicates of episode 1 and all kinds of weird things.

At the very least I hope it is possible to relegate the NCOPED to Specials, and it would be great if it works out to fix absolute episode numberings properly, as well as large numbers. While I have a pretty good grasp of how the anime plugin works after reading the code for a while, unfortunately there are still lots of things that I don't get about how jellyfin works internally, especially if it is possible to "change" the series or season of a file away from its containing folder via the plugin. From documentation and everything it always seems like the preferred method is "just change your folder structure/filenames", but I would much prefer if that wouldn't be necessary.

@senritsu
Copy link

senritsu commented Feb 5, 2021

@GNY-001F2 Just to let you know, jellyfin/jellyfin#5043 was just merged in core jellyfin, which should improve handling for episode numbers greater than 100.

@GNY-001F2
Copy link

@GNY-001F2 Just to let you know, jellyfin/jellyfin#5043 was just merged in core jellyfin, which should improve handling for episode numbers greater than 100.

I'm trying to set up shokofin to get around the problem as of this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants