Help! How to shorten title

All about user-defined episode / movie / file name format expressions
Post Reply
AiEsper
Posts: 2
Joined: 30 May 2016, 06:03

Help! How to shorten title

Post by AiEsper »

Hi ,
So, how to shorten title name
How to be this
Akatsuki No Yona 01[480p]

instead of this
Akatsuki no Yona The Girl Standing in the Blush of Dawn 01 [480p]
This is my code

Code: Select all

{n.replaceTrailingBrackets()} {sxe} [{vf}]{[source]}
Thanks before
User avatar
rednoah
The Source
Posts: 23935
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Help! How to shorten title

Post by rednoah »

{n} gives me Yona of the Dawn with AniDB and TheTVDB.


Assuming that {primaryTitle} is Akatsuki no Yona: The Girl Standing in the Blush of Dawn you can probably do something like this:

Code: Select all

{primaryTitle.before(':')}
:idea: Please read the FAQ and How to Request Help.
AiEsper
Posts: 2
Joined: 30 May 2016, 06:03

Re: Help! How to shorten title

Post by AiEsper »

rednoah wrote:{n} gives me Yona of the Dawn with AniDB and TheTVDB.


Assuming that {primaryTitle} is Akatsuki no Yona: The Girl Standing in the Blush of Dawn you can probably do something like this:

Code: Select all

{primaryTitle.before(':')}
Actually i using indonesia language to "automatically" change katakana/hiragana title to romaji..
So how to make so works with amc script ?
Thanks again...
Post Reply