Feature Request: AniList for anime metadata

All your suggestions, requests and ideas for future development
Post Reply
crawfs
Posts: 24
Joined: 01 Feb 2019, 09:26

Feature Request: AniList for anime metadata

Post by crawfs »

Hey I'd like to point out that aniList has much better metadata for anime such as an actual section for "english titles" rather than the "official" titles field for aniDB that occasionally the gets given the romaji title which is immensely unhelpful. Additionally there is now a community AniList agent available for Plex: https://github.com/RickDB/PlexAniSync

Please consider added AniList as a metadata agent for anime. For what it's worth I have it on good authority from a weeb developer friend that AniList API > AniDB API :P .
crawfs
Posts: 24
Joined: 01 Feb 2019, 09:26

Re: Feature Request: AniList for anime metadata

Post by crawfs »

Just for slightly further context on this: My filebot script is setup to rename anime using the english title but occasionally because the metadata on aniDB is ridiculous it just uses the Romaji title which is just plain silly, I understand that's an issue with the aniDB site and not filebot hence why my request is to add an alternative source for anime metadata.
User avatar
rednoah
The Source
Posts: 20316
Joined: 16 Nov 2011, 08:59

Re: Feature Request: AniList for anime metadata

Post by rednoah »

AniDB supports localized titles including English ones:

Code: Select all

$ filebot -list --q "juuni kokuki" --db AniDB --lang English
The Twelve Kingdoms - 01 - Shadow of the Moon, The Sea of Shadow - Chapter 1
The Twelve Kingdoms - 02 - Shadow of the Moon, The Sea of Shadow - Chapter 2
The Twelve Kingdoms - 03 - Shadow of the Moon, The Sea of Shadow - Chapter 3
AFAIK, you can even add the official English title yourself if it's missing.
:idea: Please read the FAQ and How to Request Help.
crawfs
Posts: 24
Joined: 01 Feb 2019, 09:26

Re: Feature Request: AniList for anime metadata

Post by crawfs »

Yeah I know it supports that but if the title isn't there it doesn't really help.

And also I'm aware I could edit the metadata on AniDB but it isn't really worth my time when I'm not actually paid for any part of this. Also as a hilarious coincidence the aniDB registration form is broken so that's a bummer.
User avatar
rednoah
The Source
Posts: 20316
Joined: 16 Nov 2011, 08:59

Re: Feature Request: AniList for anime metadata

Post by rednoah »

1.
Can you list a specific show where AniList works better than AniDB?

It works perfectly fine for every show I've tried:

Code: Select all

$ filebot -rename "juuni kokuki - 01.mkv" --db AniDB --lang English --format "{n} - E{absolute.pad 2} - {t}"
Rename episodes using [AniDB]
Auto-detected query: [Juuni Kokuki]
Fetching episode data for [Juuni Kokuki]
[MOVE] from [juuni kokuki - 01.mkv] to [The Twelve Kingdoms - E01 - Shadow of the Moon, The Sea of Shadow - Chapter 1.mkv]
Processed 1 files
Please provide more information:
https://www.filebot.net/forums/viewtopic.php?f=3&t=1868


2.
crawfs wrote: 25 Apr 2019, 02:37 I could edit the metadata on AniDB but it isn't really worth my time when I'm not actually paid for any part of this.
All the data you've ever seen on any database is contributed by users that aren't paid for it. Remember that, and do your part, to make things work for everyone, as others have done for you.
:idea: Please read the FAQ and How to Request Help.
crawfs
Posts: 24
Joined: 01 Feb 2019, 09:26

Re: Feature Request: AniList for anime metadata

Post by crawfs »

In this case it was "Magmel and the Sea Blue" which I ended up going onto the AniDB IRC to get changed.

Also while I'm at it aniDB also uses ` for apostrophes instead of '. My current naming format looks like:

{localize.English.n.colon(' - ')}

How would I go about including a replace for ` to become '
User avatar
rednoah
The Source
Posts: 20316
Joined: 16 Nov 2011, 08:59

Re: Feature Request: AniList for anime metadata

Post by rednoah »

1.
I see that Magmell of the Sea Blue as been added, but it won't work if it's just a Synonym, so I've already put in an Edit Request to make it the Official English Title:
https://anidb.net/perl-bin/animedb.pl?show=anime&aid=14063

:idea: Half the Episodes don't even have titles yet. I guess it's not a very popular show yet. Maybe you can help contribute there.


2.
{n} and {localize.English.n} is the same if you're using --lang English (default) so {n.colon(' - ')} is probably fine here.


3.
You could do your own custom replacement:

Code: Select all

{t.replace(/`/, /'/)}
But I recommend using the built-in String.asciiQuotes() method:

Code: Select all

{t.asciiQuotes()}
e.g.

Code: Select all

filebot -list --q "One Piece" --db AniDB --format "{t.asciiQuotes()}"
:idea: Please read the FAQ and How to Request Help.
crawfs
Posts: 24
Joined: 01 Feb 2019, 09:26

Re: Feature Request: AniList for anime metadata

Post by crawfs »

so String.asciiQuotes() will handle the replacement of ` to '?

Also because I'm already using .colon can I jsut add an extra .asciiQuotes() to the end and have it look like this:

Code: Select all

{n.colon(' - ').asciiQuotes()}
Will that work?
User avatar
rednoah
The Source
Posts: 20316
Joined: 16 Nov 2011, 08:59

Re: Feature Request: AniList for anime metadata

Post by rednoah »

Yes, that'll work.

Best to just play with it in the Format Editor:
https://www.filebot.net/naming.html
:idea: Please read the FAQ and How to Request Help.
devster
Posts: 397
Joined: 06 Jun 2017, 22:56

Re: Feature Request: AniList for anime metadata

Post by devster »

Just in case this gets traction, AniList does have an official API.
https://github.com/AniList/ApiV2-GraphQL-Docs
I only work in black and sometimes very, very dark grey. (Batman)
User avatar
rednoah
The Source
Posts: 20316
Joined: 16 Nov 2011, 08:59

Re: Feature Request: AniList for anime metadata

Post by rednoah »

If they have a stable API, that does make things interesting. I'll put it on the backlog.
:idea: Please read the FAQ and How to Request Help.
crawfs
Posts: 24
Joined: 01 Feb 2019, 09:26

Re: Feature Request: AniList for anime metadata

Post by crawfs »

Yeah sorry, I obviously didn't make that clear, I was aware that an API exists but I probably should have been explicit about it.
miniL
Posts: 3
Joined: 13 Oct 2019, 11:18

Re: Feature Request: AniList for anime metadata

Post by miniL »

I would really like to second this request.
Some of the data on AniDB is incorrect or incomplete.
Personally I prefer myanimelist (have an account there) cause it favors the eye and easier UI to use and it's easier to find all the content etc.
At least that is my personal feeling. Anyway I do believe they have an API as well though I am unsure (I'm not that familiar with API's etc).

That aside, AniDB does pick up wrong titles and matches on a regular basis.
Any additions to help the Anime front would be appreciated and therefor I second the request :)
drantor
Posts: 3
Joined: 13 Oct 2021, 09:49

Re: Feature Request: AniList for anime metadata

Post by drantor »

Is this request still in the backlog and/or has an estimate?
I would really like to switch to anilist.co for metadata and naming.
User avatar
rednoah
The Source
Posts: 20316
Joined: 16 Nov 2011, 08:59

Re: Feature Request: AniList for anime metadata

Post by rednoah »

Additional Anime-specific or Language-specific datasources are not planned at this point. Does anilist.co provide anything specific that you need but isn't provided by TheMovieDB / TheTVDB / AniDB?
:idea: Please read the FAQ and How to Request Help.
drantor
Posts: 3
Joined: 13 Oct 2021, 09:49

Re: Feature Request: AniList for anime metadata

Post by drantor »

Nope just better metadata, naming and grouping in my opinion.
And I also sync the watch state with anilist.co and because of the different data I often have to setup custom matching rules.

Well, thanks anyways for the answer :)
User avatar
rednoah
The Source
Posts: 20316
Joined: 16 Nov 2011, 08:59

Re: Feature Request: AniList for anime metadata

Post by rednoah »

drantor wrote: 16 Oct 2021, 21:31 Nope just better metadata, naming and grouping in my opinion.
And I also sync the watch state with anilist.co and because of the different data I often have to setup custom matching rules.
Specific examples would be appreciated, so I can add them to the list of things we test with. If we have specific test cases that only work with specific databases, then we can develop and debug to see how we can make things work, which may or may not include talking to additional databases.
:idea: Please read the FAQ and How to Request Help.
drantor
Posts: 3
Joined: 13 Oct 2021, 09:49

Re: Feature Request: AniList for anime metadata

Post by drantor »

Okay, I will try to collect some examples for what is bothering me.

Thanks,
drantor
Post Reply