set year on programs

This commit is contained in:
Luke Pulverenti 2016-10-22 10:50:21 -04:00
parent 654b13b263
commit 19008e342e

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)