Feature Request: AniList for anime metadata

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

Feature Request: AniList for anime metadata

Post by crawfs » 24 Apr 2019, 13:14

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: 22
Joined: 01 Feb 2019, 09:26

Re: Feature Request: AniList for anime metadata

Post by crawfs » 24 Apr 2019, 13:17

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: 16812
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Feature Request: AniList for anime metadata

Post by rednoah » 24 Apr 2019, 15:16

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: 22
Joined: 01 Feb 2019, 09:26

Re: Feature Request: AniList for anime metadata

Post by crawfs » 25 Apr 2019, 02:37

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: 16812
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Feature Request: AniList for anime metadata

Post by rednoah » 25 Apr 2019, 05:35

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: 22
Joined: 01 Feb 2019, 09:26

Re: Feature Request: AniList for anime metadata

Post by crawfs » 25 Apr 2019, 05:42

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: 16812
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Feature Request: AniList for anime metadata

Post by rednoah » 25 Apr 2019, 06:13

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: 22
Joined: 01 Feb 2019, 09:26

Re: Feature Request: AniList for anime metadata

Post by crawfs » 25 Apr 2019, 06:26

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: 16812
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Feature Request: AniList for anime metadata

Post by rednoah » 25 Apr 2019, 06:36

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: 335
Joined: 06 Jun 2017, 22:56

Re: Feature Request: AniList for anime metadata

Post by devster » 27 Apr 2019, 21:15

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: 16812
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Feature Request: AniList for anime metadata

Post by rednoah » 28 Apr 2019, 03:57

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: 22
Joined: 01 Feb 2019, 09:26

Re: Feature Request: AniList for anime metadata

Post by crawfs » 28 Apr 2019, 10:06

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 » 17 Oct 2019, 16:04

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 :)

Post Reply