Page 1 of 1

year in filename

Posted: 15 Apr 2017, 01:19
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

Re: please help to modify a script

Posted: 15 Apr 2017, 02:11
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?

Re: please help to modify a script

Posted: 15 Apr 2017, 02:29
by lionelk
many thanks. the series start date or series start year if that is at all possible
thank you

Re: year in filename

Posted: 15 Apr 2017, 02:39
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

Re: year in filename

Posted: 15 Apr 2017, 05:03
by lionelk
many thanks i did not know about that.it will definitely help.
thanks again
lionelk

Re: year in filename

Posted: 15 Apr 2017, 05:22
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

Re: year in filename

Posted: 17 Aug 2024, 04:20
by rednoah