diff --git a/src/Ombi.Notifications.Templates/Templates/NewsletterTemplate.html b/src/Ombi.Notifications.Templates/Templates/NewsletterTemplate.html index e9a2b7f29..81190334a 100644 --- a/src/Ombi.Notifications.Templates/Templates/NewsletterTemplate.html +++ b/src/Ombi.Notifications.Templates/Templates/NewsletterTemplate.html @@ -157,12 +157,12 @@ - +
- +
diff --git a/src/Ombi.Schedule/Jobs/Ombi/NewsletterJob.cs b/src/Ombi.Schedule/Jobs/Ombi/NewsletterJob.cs index ed34a6236..651c7287f 100644 --- a/src/Ombi.Schedule/Jobs/Ombi/NewsletterJob.cs +++ b/src/Ombi.Schedule/Jobs/Ombi/NewsletterJob.cs @@ -306,7 +306,7 @@ namespace Ombi.Schedule.Jobs.Ombi var embyMovies = embyContentToSend.Where(x => x.Type == EmbyMediaType.Movie); if ((plexMovies.Any() || embyMovies.Any()) && !settings.DisableMovies) { - sb.Append("

New Movies



"); + sb.Append("

New Movies



"); sb.Append( ""); sb.Append(""); @@ -324,7 +324,7 @@ namespace Ombi.Schedule.Jobs.Ombi if ((plexEpisodes.Any() || embyEp.Any()) && !settings.DisableTv) { - sb.Append("

New TV



"); + sb.Append("

New TV



"); sb.Append( "
"); sb.Append(""); @@ -588,7 +588,6 @@ namespace Ombi.Schedule.Jobs.Ombi { AddGenres(sb, $"Genres: {string.Join(", ", info.genres.Select(x => x.ToString()).ToArray())}"); } - count += 1; } catch (Exception e) @@ -598,6 +597,7 @@ namespace Ombi.Schedule.Jobs.Ombi finally { EndLoopHtml(sb); + count += 1; } if (count == 2) @@ -752,7 +752,6 @@ namespace Ombi.Schedule.Jobs.Ombi { AddGenres(sb, $"Genres: {string.Join(", ", info.genres.Select(x => x.ToString()).ToArray())}"); } - count += 1; } catch (Exception e) @@ -762,6 +761,7 @@ namespace Ombi.Schedule.Jobs.Ombi finally { EndLoopHtml(sb); + count += 1; } if (count == 2)