New: Add "enddate" tag to Kodi/Jellyfin series metadata
This commit is contained in:
parent
076aaba908
commit
ec8da1c7de
|
@ -198,6 +198,12 @@ namespace NzbDrone.Core.Extras.Metadata.Consumers.Xbmc
|
|||
tvShow.Add(new XElement("premiered", series.FirstAired.Value.ToString("yyyy-MM-dd")));
|
||||
}
|
||||
|
||||
// Add support for Jellyfin's "enddate" tag
|
||||
if (series.Status == SeriesStatusType.Ended && series.LastAired.HasValue)
|
||||
{
|
||||
tvShow.Add(new XElement("enddate", series.LastAired.Value.ToString("yyyy-MM-dd")));
|
||||
}
|
||||
|
||||
tvShow.Add(new XElement("studio", series.Network));
|
||||
|
||||
foreach (var actor in series.Actors)
|
||||
|
|
Loading…
Reference in New Issue