set year on programs
This commit is contained in:
parent
c7f559f8ce
commit
8201674970
|
@ -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…
Reference in New Issue
Block a user