Re-apply HA fork patches on upstream v12.0 #3

Merged
benvin merged 2139 commits from benvin/rebase-v12 into main 2026-09-12 12:48:36 +10:00
Showing only changes of commit 733b4ba73a - Show all commits
+1 -1
View File
@@ -1563,7 +1563,7 @@ namespace MediaBrowser.Controller.Entities
// year/premiere date when the extra doesn't have one, so it stays consistent with the
// media it belongs to. Setting it before the refresh means the media info provider
// won't overwrite it from the file creation date.
if (!i.ProductionYear.HasValue && item.ProductionYear.HasValue)
if (i.ProductionYear is null && item.ProductionYear is not null)
{
i.ProductionYear = item.ProductionYear;
i.PremiereDate ??= item.PremiereDate;