The statement is supposed to add (first Airdate - Last Episode Airdate) to my series name.
The statement used to return this output when a series ended.
Code: Select all
Legacies (2018-2022){tvdb-349309}
Code: Select all
Legacies (2018-...){tvdb-349309}
Code: Select all
Black Narcissus (2020-null){tvdb-382164}
Code: Select all
({y}{info.status == "Ended" ? "-${episodelist.findAll{it.season}.airdate.year.max()}" : '-...'})
Thanks rednoah
Extra info:
Code: Select all
FileBot 5.1.1 (r9982)
JNA Native: 6.1.4
MediaInfo: 23.07
7-Zip-JBinding: 16.02
Tools: fpcalc/1.5.0 mkvpropedit/78.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2023-09-10 (r939)
Groovy: 4.0.14
JRE: OpenJDK Runtime Environment 17.0.8
JVM: OpenJDK 64-Bit Server VM
FILEBOT_OPTS: -DuseExtendedFileAttributes=true -Dsun.java2d.uiScale=0.75
System Property: net.filebot.theme=Darcula
System Property: useExtendedFileAttributes=true
CPU/MEM: 12 Core / 8 GB Max Memory / 717 MB Used Memory
OS: Windows 10 (amd64)
STORAGE: NTFS [Spanned 3GB] @ 712 GB | NTFS [Boot Drive] @ 135 GB | NTFS [Data Drive] @ 341 GB | NTFS [Multimedia Movies] @ 41 GB | NTFS [Multimedia TV Shows] @ 14 GB | NTFS [Multimedia TV Shows 2b] @ 64 GB | NTFS [Multimedia Movies 2] @ 262 GB | NTFS [Multimedia TV Shows 3] @ 26 GB
DATA: C:\Users\xx\AppData\Roaming\FileBot
Package: MSI
License: FileBot License PX6380144 (Valid-Until: 2068-12-03)