Having both English & Orginal Titel for Anime?

All about user-defined episode / movie format expressions
Post Reply
Silke79
Posts: 8
Joined: 11 Dec 2018, 22:13

Having both English & Orginal Titel for Anime?

Post by Silke79 » 11 Dec 2018, 22:34

Could not find a topic of this so far in here.
I'm using this format showed here under for my Anime series, but I would love to be able it to post with both the Original and English Titel on the main folder like so when there are both Japanese and English titel.

How it looks before renaming
[HorribleSubs] Kaze ga Tsuyoku Fuiteiru - 03 [720p]

How I would like it to be
S:/Anime/Run with the Wind (Kaze ga Tsuyoku Fuiteiru) (2018)/Season 01/Run with the Wind - S01E03 - A Single Flower - #0003 - 720p x264 2ch [2018-10-17]

How it is now
S:/Anime/Run with the Wind (2018)/Season 01/Run with the Wind - S01E03 - A Single Flower - #0003 - 720p x264 2ch [2018-10-17]

Code: Select all

S:/Anime/{n.lowerTrail().colon(' - ')} ({y})/{episode.special ? 'Special' : 'Season '+s.pad(2)}/{n.colon(' - ').lowerTrail()} - {s00e00} - {t.colon(' - ').lowerTrail()} - #{absolute.pad(4)} - {vf} {vc} {af} [{airdate}]{'.'+lang}

User avatar
rednoah
The Source
Posts: 15344
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Having both English & Orginal Titel for Anime?

Post by rednoah » 12 Dec 2018, 06:20

Step 1: Use {primaryTitle}:

Code: Select all

{n} ({primaryTitle})
:idea: Note that this will only work if you're using AniDB.


Step 2: Check if n equals primaryTitle and then act accordingly:

Code: Select all

{n == primaryTitle ? n : n + ' (' + primaryTitle + ')'}

:idea: Note that AniDB doesn't have seasons, and {s} and {s00e00} work by FileBot cross-referencing things to TheTVDB data, if possible, which any not always be the case. I wouldn't use seasons, since AniDB / Anime simply don't have seasons.
:idea: Please read the FAQ and How to Request Help.

Silke79
Posts: 8
Joined: 11 Dec 2018, 22:13

Re: Having both English & Orginal Titel for Anime?

Post by Silke79 » 12 Dec 2018, 08:21

I need the SxxExx part there because I use Plex to view the anime and then have Medusa to keep track of episodes.

But I will try it out and see how it works when I get back home again.

User avatar
rednoah
The Source
Posts: 15344
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Having both English & Orginal Titel for Anime?

Post by rednoah » 12 Dec 2018, 10:30

If you're using Plex, then you probably want to process everything with TheTVDB, since Plex uses TheTVDB, and so things will match always, and not just kinda mostly.
:idea: Please read the FAQ and How to Request Help.

Silke79
Posts: 8
Joined: 11 Dec 2018, 22:13

Re: Having both English & Orginal Titel for Anime?

Post by Silke79 » 12 Dec 2018, 22:23

Looks like it works fine for me now with some of the series changing to SxxExx and in worse case scenario I have to put original tital in manually on the folder after I used TheTVdb when AniDB dont provide SxxExx, but one small problem is that I can't find a solution on how to get it to change : to - instead when need be.

S:/TV-Serier/Angolmois :arrow: : Record of Mongol Invasion (Angolmois :arrow: : Genkou Kassenki) (2018)/Season 01/Angolmois - Record of Mongol Invasion - S01E01 - The Far End of Japan - #0001 - 720p x264 2ch [2018-07-11]

Code: Select all

S:/TV-Serier/{n == primaryTitle ? n : n + ' (' + primaryTitle + ')'} ({y})/{episode.special ? 'Special' : 'Season '+s.pad(2)}/{n.colon(' - ').lowerTrail()} - {s00e00} - {t.colon(' - ').lowerTrail()} - #{absolute.pad(4)} - {vf} {vc} {af} [{airdate}]{'.'+lang}

User avatar
rednoah
The Source
Posts: 15344
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Having both English & Orginal Titel for Anime?

Post by rednoah » 13 Dec 2018, 08:13

This will do:

Code: Select all

(n == primaryTitle ? n : n + ' (' + primaryTitle + ')').colon(' - ')
:idea: Please read the FAQ and How to Request Help.

Post Reply

Who is online

Users browsing this forum: Gripweed and 3 guests