"ny" and "year" not working

All your suggestions, requests and ideas for future development
Post Reply
User avatar
Wolfie
Posts: 114
Joined: 27 Oct 2015, 02:59

"ny" and "year" not working

Post 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.
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: "ny" and "year" not working

Post 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?
:idea: Please read the FAQ and How to Request Help.
User avatar
Wolfie
Posts: 114
Joined: 27 Oct 2015, 02:59

Re: "ny" and "year" not working

Post by Wolfie »

Apparently there is a known bug that prevents it.
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: "ny" and "year" not working

Post 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()}
:idea: Please read the FAQ and How to Request Help.
User avatar
Wolfie
Posts: 114
Joined: 27 Oct 2015, 02:59

Re: "ny" and "year" not working

Post by Wolfie »

I added {sy.toString().match(/\d+/)} or something like that before I made the initial post.
Post Reply