Page 1 of 1

"ny" and "year" not working

Posted: 27 Oct 2018, 03:20
by Wolfie
I'm sure part of the fault lies with TheTVDb.com, but I believe it's still something that should be fixable.

Shows like Impulse, Manifest, and The Conners don't properly fill out the fields (ny, year), and I believe it's because the series information (on TheTVDb) doesn't have the "First aired" information available. However, the "sy" value still gets populated with [2018]. So, internally, if "year" isn't available, maybe grab it from "sy" as a backup?

Just to clarify, "ny" does have the name, just not the year.

Re: "ny" and "year" not working

Posted: 27 Oct 2018, 04:23
by rednoah
The year value could be derived from the first episode from the episode list.

Though adding missing information to TheTVDB would be a better solution, and beneficial to other tools not FileBot.

Is there any reason why you can’t add the missing information to fix the problem at the source?

Re: "ny" and "year" not working

Posted: 27 Oct 2018, 04:34
by Wolfie
Apparently there is a known bug that prevents it.

Re: "ny" and "year" not working

Posted: 27 Oct 2018, 10:28
by rednoah
I'll look into it.

In the meanwhile, this format snippet will do the job just as well:

Code: Select all

any{y}{episodelist.airdate.year.min()}

Re: "ny" and "year" not working

Posted: 27 Oct 2018, 11:04
by Wolfie
I added {sy.toString().match(/\d+/)} or something like that before I made the initial post.