set year on programs

pull/1154/head
Luke Pulverenti 8 years ago
parent 654b13b263
commit 19008e342e

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

Loading…
Cancel
Save