year in filename

All about user-defined episode / movie / file name format expressions
Post Reply
lionelk
Posts: 4
Joined: 15 Apr 2017, 00:52

year in filename

Post by lionelk »

i have downloaded my TV Series for a long time using filebot but have never tried to modify the string.
the one i use is
series name Season 13 - S13E01 - title

Code: Select all

{n} {'Season '+s} - {s00e00} - {t}
almost all of the series i download are from September ie 2016 and
may ie 2017.is it feasible to add the two years in the script like

Code: Select all

series name season 13 - (2016-2017) - S13E01- title
OR

Code: Select all

series name season 13 - (2016-17) - S13E01 - title
i have no idea how to go about this
i appreciate any assistance
lionelk
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: please help to modify a script

Post by rednoah »

Have you tried the {sy} season years binding?

What "date" are you trying to refer to? File Creation Date? File Encoding Date? Episode Air Date? Season Start Date? Series Start Date?
:idea: Please read the FAQ and How to Request Help.
lionelk
Posts: 4
Joined: 15 Apr 2017, 00:52

Re: please help to modify a script

Post by lionelk »

many thanks. the series start date or series start year if that is at all possible
thank you
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: year in filename

Post by rednoah »

Open the Binding Dialog Image and have a look at all the bindings.

Code: Select all

ny

Code: Select all

startdate

Code: Select all

startdate.year
:idea: Please read the FAQ and How to Request Help.
lionelk
Posts: 4
Joined: 15 Apr 2017, 00:52

Re: year in filename

Post by lionelk »

many thanks i did not know about that.it will definitely help.
thanks again
lionelk
lionelk
Posts: 4
Joined: 15 Apr 2017, 00:52

Re: year in filename

Post by lionelk »

hi
found what i needed. i just added (sy) and got 2016-2017 just what i was looking for cannot thank you enough
regards
lionelk
Post Reply