set year on programs

This commit is contained in:
Luke Pulverenti 2016-10-22 10:50:21 -04:00
parent c7f559f8ce
commit 8201674970

View File

@ -488,6 +488,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv.Listings
if (!string.IsNullOrWhiteSpace(details.originalAirDate) && (!info.IsSeries || info.IsRepeat))
{
info.OriginalAirDate = DateTime.Parse(details.originalAirDate);
info.ProductionYear = info.OriginalAirDate.Value.Year;
}
if (details.genres != null)