Update src/NzbDrone.Core/Extras/Metadata/Consumers/Xbmc/XbmcMetadata.cs

This commit is contained in:
Mark McDowall 2023-10-17 02:47:41 -04:00 committed by GitHub
parent 172f8b56c3
commit 7818c35f17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ namespace NzbDrone.Core.Extras.Metadata.Consumers.Xbmc
}
// Add support for Jellyfin's "enddate" tag
if (series.Status.Equals(SeriesStatusType.Ended) && series.LastAired.HasValue)
if (series.Status == SeriesStatusType.Ended && series.LastAired.HasValue)
{
tvShow.Add(new XElement("enddate", series.LastAired.Value.ToString("yyyy-MM-dd")));
}