theTVDB and double year

All about user-defined episode / movie format expressions
Post Reply
snattack
Posts: 2
Joined: 01 Jan 2020, 22:18

theTVDB and double year

Post by snattack » 01 Jan 2020, 22:27

Hello,

I like adding year to filenames of TV Shows and movies. One problem I've discovered with theTVDB is that sometimes the year is included in the actual show name. This makes scripting complicated since it will result in double year to files + dirs. This wouldn't be a problem if it was consequential in the database, but it isn't.

EXAMPLE

Shownames:
"Battlestar Galactica (2003)"
"The Witcher"

Adding '({y})' to the command will then result in:
"Battlestart Galactica (2003) (2003)"
"The Witcher (2019)"

Any workaround for this?

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

Re: theTVDB and double year

Post by rednoah » 01 Jan 2020, 22:49

Use {ny} instead of {n} ({y}).
:idea: Please read the FAQ and How to Request Help.

snattack
Posts: 2
Joined: 01 Jan 2020, 22:18

Re: theTVDB and double year

Post by snattack » 14 Jan 2020, 20:18

Thanks!

Post Reply