Closed Jalle19 closed 5 years ago
Hi, looking fine except when year and publish date is not available then it looks like this in a year grid column "1969Not available ". Maybe you can just hide "Nor available"
Strange, I'll take a look. Only tried the list view so far.
Ok, tnx.
So 1969
is the name of some movie or TV show?
No that is the year of video, what Kodi populate if you don't specify the year because I used NFO files to import them into Kodi library. "Not available" is I guess premiered what is also not specified in NFO and populated in library as empty.
Actually never mind, found the bug
@amilino can you pull the latest change and try again? Shoudl be fixed now
Awesome, working great now! Many thanks.
Thanks for testing!
This also changes the rendering of the year to use the year from the premiere date when it's available, otherwise the "year" column, and if nothing is available, "Not available" is returned. This also fixes a bug where 1601 is shown as the year for items that don't apparently have a year (Kodi sometimes returns 1601 instead of 0).
Closes #317
@amilino can you try this branch? Please note that the query parameters have changed from e.g.
?sort=year.desc
to?sort=premiered.desc
.