Code: Select all
any{"Season $s [$sy]" }
However, I have a couple shows that for whatever reason pull sometimes up to 10 years for 1 season. This becomes a file name nightmare and can very easily make a name so long that PLEX won't read it.
Using the above code I can end up with (and have....)
Season 2 [1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004]
And that being one small part of the file name...well, you see the problem. LOL
Is there a way to set the number it will pull like we do with
Code: Select all
genres.take(2).join
I know I may have just answered my question but I've tried several variations of that but having issues because sy is converted to a string value. Or maybe I'm remembering my coding days from 40 years ago wrong.
Greg
PS: The worst part of all this is that all the DB's have the info WRONG for the series. Batman: The Animated Series. It's ONLY 2 seasons but the only way to get the right info (most have it as 4 seasons in most iterations and 3 in others...) but thetvdb does have it correctly as Blueray but FileBot doesn't access the Blueray option. DVD option lists it as 3 seasons but that is actually not correct. Even IMDB shows it as 4. It was NOT 4 seasons. Sometimes, this stuff is maddening! LOL