Fixed duplicate titles in Plex Newsletter

This commit is contained in:
Anojh 2018-05-04 12:25:44 -07:00
commit 380c9b6bbd

View file

@ -547,7 +547,7 @@ namespace Ombi.Schedule.Jobs.Ombi
AddMediaServerUrl(sb, t.Url, banner); AddMediaServerUrl(sb, t.Url, banner);
AddInfoTable(sb); AddInfoTable(sb);
var title = $"{t.Title} ({t.ReleaseYear})"; var title = $"{t.Title} ({info.premiered.Remove(4)})";
AddTitle(sb, $"https://www.imdb.com/title/{info.externals.imdb}/", title); AddTitle(sb, $"https://www.imdb.com/title/{info.externals.imdb}/", title);
// Group by the season number // Group by the season number