Page 1 of 1

Plex Naming Standard no longer works for Anime

Posted: 02 Oct 2016, 17:30
by majortom
I don't know what's changed (I'm only a recent user of filebot) but having renamed a lot or anime using the AnimeDB and the {plex} format, I can confirm that some of it doesn't work as intended.

The page:
viewtopic.php?f=5&t=4116
says the the Anime format should be:
Anime/{primaryTitle}/{primaryTitle} - {sxe} - {t.stuff...}
but the {sxe} format definitely causes issues.

For example the Lupin III episode ".357 Magnum" in the file:

Code: Select all

Anime/Lupin the Third Mine Fujiko to Iu Onna/Lupin the Third Mine Fujiko to Iu Onna - 02 - .357 Magnum.mkv
is considered by Plex (QNAP, v2.7.0) to be episode 57 of season 3.

Similarly another episode (with the correct episode number) which ended in 2010 (the year) was thought to be episode 20 of season 10.

I think that this either needs the format changed (maybe to use {s00e00} instead of {sxe}) or there needs to be a way to plugin an anime scanner/agent to understand this non-standard naming (the Plex website has no mention of any special treatment for anime and only suggests the {s00e00} format for episode numbering). I know Anime doesn't really do season based numbering but that really is what Plex expects by default.

Filebot has worked great for TV shows and Movies on the recent versions of Plex, but it definitely doesn't quite work for Anime at the moment. If anyone had good docs for writing an anime agent/scanner for Plex (I don't know what's needed here) I'd look into that myself, but failing that, I think filebot needs to change how it names anime.

Cheers,
MT.

Re: Plex Naming Standard no longer works for Anime

Posted: 03 Oct 2016, 04:21
by rednoah
Plex doesn't support Anime and doesn't use AniDB.

Solution 1: Use Anidb Metadata Agent (HAMA)

Solution 2: Organize your Anime episodes as if they're TV Shows according to TheTVDB data / Plex naming standards (for TV Shows).

Re: Plex Naming Standard no longer works for Anime

Posted: 16 Oct 2016, 08:25
by lordfiSh
I'm using Anidb Metadata Agent (HAMA) and the following script

Code: Select all

filebot -script 'fn:amc' ~/.pyload/Downloads/ --db AniDB --output '/var/lib/plexmediaserver/.filebot/sorted' --action test -non-strict --conflict auto --lang en --def 'skipExtract=y' 'seriesFormat=anime/{n}({y})/{'\''Season '\''+s}/{n} - {s00e00} - {t} - [{vf}.{vc}.{ac}]' 'excludeList=/var/lib/plexmediaserver/.filebot/.excludes' --log info --log-file '~/.filebot/filebot.log'
It works most of the time, to cover all cases you can put the AniDB ID in the Folder name ([anidbid-xxxxx]). Can someone help to rewrite the filebot Skript?

Re: Plex Naming Standard no longer works for Anime

Posted: 16 Oct 2016, 10:13
by rednoah
The {id} binding will give you the AniDB if you're formatting AniDB episode data. You can include that in your Anime format but I'm not sure if the HAMA scraper supports AniDB IDs embedded in the filename.

EDIT:

You're only using seriesFormat which means files are processed with TheTVDB so {id} will refer to TheTVDB ID. The animeFormat option is use for files processed with AniDB, which you'll have to do if you want AniDB data.

AniDB => Scrape with HAMA
TheTVDB => Scrape with Plex TV Shows

PS: If you use TheTVDB to name your files, then HAMA won't work because it'll expect AniDB data.

Re: Plex Naming Standard no longer works for Anime

Posted: 16 Oct 2016, 10:18
by lordfiSh
Ah thanks and yes it does:
I did change the metadata id from the Anidb ID to "anidb-xxxxx" with xxxxx being the anidbid. You can use anidb.id file in series or Series/Extras folder or in the serie name " [anidbid-xxxxx]" at the end of serie folder name, works also for tvdb " [tvdb-xxxxxxx]". Older agents before that need to re-create the library to have a metadata.id beginning with "anidb-"
From: https://github.com/ZeroQI/Hama.bundle

Re: Plex Naming Standard no longer works for Anime

Posted: 16 Oct 2016, 10:21
by rednoah
Does HAMA use TheTVDB? Because you're naming your files with TheTVDB.

Edited my previous post. You need to process things with AniDB if you want HAMA to work.