Batman TV Show Villan Name

All about user-defined episode / movie / file name format expressions
Post Reply
RBCC
Posts: 118
Joined: 17 May 2016, 02:23

Batman TV Show Villan Name

Post by RBCC »

Hello all.
I am trying to add the Batman villain to the file name (joker, riddler, ect) , is there anyway to do this? :?
Such as 12-xx-xx Season 1 Episode 1 Series Name Batman Episode Hi diddle Riddle (Riddler) ? John

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

Re: Batman TV Show Villan Name

Post by rednoah »

How would FileBot be able to know what villain is in which particular episode?
:idea: Please read the FAQ and How to Request Help.
Crankrune
Posts: 21
Joined: 20 Jul 2016, 11:35

Re: Batman TV Show Villan Name

Post by Crankrune »

You could try something like this. It'll match to words that are likely associated with the villain. You'll have to write in all possible phrases in this.

Code: Select all

{t.match(/Riddle|Joke/).replaceAll(/(?i)riddle/,'Riddler').replaceAll(/(?i)joke/,'Joker')}
RBCC
Posts: 118
Joined: 17 May 2016, 02:23

Re: Batman TV Show Villan Name

Post by RBCC »

Is there a synopsis of an episode on tvdb? If so . could i read thru it and append the villians name of the end
User avatar
rednoah
The Source
Posts: 23924
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Batman TV Show Villan Name

Post by rednoah »

Unfortunately, you won't have access to episode-specific extended metadata like synopsis or actors, so there is no easy way to do this.
:idea: Please read the FAQ and How to Request Help.
Post Reply