mnamer icon indicating copy to clipboard operation
mnamer copied to clipboard

Add AniDB support

Open ghost opened this issue 4 years ago • 4 comments

I don't know how complicated it would be, but I think it would be a nice addition, as support for tvdb or tvmaze animes is pretty limited. https://anidb.net/

ghost avatar Aug 21 '21 15:08 ghost

Thank you for the suggestion. I'm sorry to say I don't see this being a feature I plan on adding at this time. I'm personally not very familiar with anime scene naming schemes but the main reasons I don't want to support this are technical.

The delineation between media types mnamer supports is pretty clear. Movies, episodes, and subtitles are distinct things that don't overlap. mnamer is architected in such a way that media types are put in one of these buckets and processed accordingly. Anime isn't a media type, it's a genre that spans across all these types. Adding support for it wouldn't just be an add-on, it would be something that would need to be integrated and supported in all the layers of mnamer's existing and stable codebase.

Aside from that, I don't think that there is a clear way to identify anime from a filename. For example, you can identify an episode file if it has a season and episode, or a movie file if it has a year. Anime files don't have any obvious heuristic that you can use to identify them as anime.

jkwill87 avatar Sep 15 '21 21:09 jkwill87

You honestly don't need AniDB. You just need to use TVDB to rename animes. Both TMDB and TVDB are doing just fine. On that note, TVDB can check for tv shows, movies, and animes.

I wondered which animes that TVDB cannot find? You mentioned it's limited?

Xelbayria avatar Jan 18 '22 06:01 Xelbayria

AniDB does support Anime lookup by the hash of a file, see: https://github.com/clip9/adbren https://github.com/adameste/anidbcli

https://github.com/manami-project/anime-offline-database has some numbers on the amount of Anime's known from various sources https://github.com/ScudLee/anime-lists and here is a ID mapping between AniDB and TVdb & co.

leuc avatar Mar 05 '22 04:03 leuc

As has been said above I don't think AniDB is needed as tvdb has entries for most titles. However Mnamer often seem to fail to fetch/match Anime shows even when tvdb entries exist and Mnamer is used with the --id-tvdb flag. Solving this would make other databases redundant - even if such additions would be nice to have as well.

ghost avatar May 18 '22 00:05 ghost