Hi Guys,
I have had to rebuild my Kodi library when i decided my upgrade to Kodi 17 was premature. I will wait for more bug fix releases…
I have a little script i wrote that sets the date of the episode filenames to the air date but every now and then, Sonarr goes through the whole library and sets those same dates.
This is fine except for shows that aired before the Unix Epoch date (January 1st 1970). Kodi doesn’t like that date at all and basically anything that has aired before that date (like the 1967 Batman show) is always at the top of the list in recently added shows.
In my script, whenever i see an airdate in the nfo that is earlier than 1970, i just set the year to 1970 but keep the same month and day. That fixes the problem of Kodi setting the dateadded to something invalid.
This probably doesn’t affect a lot of people but it is a 12 second fix so it would be appreciated
Thanks!