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