diff options
| author | Cody Robibero <cody@robibe.ro> | 2026-07-25 12:52:51 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-25 12:52:51 -0400 |
| commit | 7f26bd109171041f9e27a51f7cd3969fb2e8546d (patch) | |
| tree | 29b0c00082b98f31fecdc718f61ec7c627690487 /MediaBrowser.MediaEncoding/Probing | |
| parent | 45ec0ed8b5cd92226ff7767d654dd93b1a2036f5 (diff) | |
| parent | 3c9727d36cdf6749106ad398835484810d0c6a22 (diff) | |
Merge pull request #17399 from Shadowghost/fix-extra-year
Fix incorrect year on local trailers
Diffstat (limited to 'MediaBrowser.MediaEncoding/Probing')
| -rw-r--r-- | MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs b/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs index b6acfdbf3b..5533e55223 100644 --- a/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs +++ b/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs @@ -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; } |
