Merge pull request #17399 from Shadowghost/fix-extra-year

Fix incorrect year on local trailers
This commit is contained in:
Cody Robibero
2026-07-25 12:52:51 -04:00
committed by GitHub
22 changed files with 264 additions and 29 deletions
@@ -189,7 +189,7 @@ namespace MediaBrowser.MediaEncoding.Probing
}
// Guess ProductionYear from PremiereDate if missing
if (!info.ProductionYear.HasValue && info.PremiereDate.HasValue)
if (info.ProductionYear is null && info.PremiereDate is not null)
{
info.ProductionYear = info.PremiereDate.Value.Year;
}