Update src/NzbDrone.Core/Extras/Metadata/Consumers/Xbmc/XbmcMetadata.cs
This commit is contained in:
parent
172f8b56c3
commit
7818c35f17
|
@ -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")));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue