From 81811bab0326d79feab40f2fad1d49b623838421 Mon Sep 17 00:00:00 2001 From: Jamie Rees Date: Wed, 16 May 2018 08:07:58 +0100 Subject: [PATCH] Fixed that sometimes there would be a hidden error on the login page. Also improved the recently added sync so we don't do a episode cache straight after --- src/Ombi.Schedule/Jobs/Plex/PlexContentSync.cs | 8 ++++++-- .../ClientApp/app/login/login.component.html | 2 +- src/Ombi/Views/Shared/_Layout.cshtml | 16 ++++++++++++++++ src/Ombi/webpack.config.vendor.ts | 2 ++ 4 files changed, 25 insertions(+), 3 deletions(-) diff --git a/src/Ombi.Schedule/Jobs/Plex/PlexContentSync.cs b/src/Ombi.Schedule/Jobs/Plex/PlexContentSync.cs index 334b51e4b..4593b7ea1 100644 --- a/src/Ombi.Schedule/Jobs/Plex/PlexContentSync.cs +++ b/src/Ombi.Schedule/Jobs/Plex/PlexContentSync.cs @@ -88,8 +88,12 @@ namespace Ombi.Schedule.Jobs.Plex Logger.LogWarning(LoggingEvents.PlexContentCacher, e, "Exception thrown when attempting to cache the Plex Content"); } - Logger.LogInformation("Starting EP Cacher"); - BackgroundJob.Enqueue(() => EpisodeSync.Start()); + if (!recentlyAddedSearch) + { + Logger.LogInformation("Starting EP Cacher"); + BackgroundJob.Enqueue(() => EpisodeSync.Start()); + } + BackgroundJob.Enqueue(() => Metadata.Start()); } diff --git a/src/Ombi/ClientApp/app/login/login.component.html b/src/Ombi/ClientApp/app/login/login.component.html index d87b7121e..bb6afc1dd 100644 --- a/src/Ombi/ClientApp/app/login/login.component.html +++ b/src/Ombi/ClientApp/app/login/login.component.html @@ -2,7 +2,7 @@ you can substitue the span of reauth email for a input with the email and include the remember me checkbox --> -
+
diff --git a/src/Ombi/Views/Shared/_Layout.cshtml b/src/Ombi/Views/Shared/_Layout.cshtml index 5dc7a1dec..4a7169dae 100644 --- a/src/Ombi/Views/Shared/_Layout.cshtml +++ b/src/Ombi/Views/Shared/_Layout.cshtml @@ -58,6 +58,21 @@ --> + + @* + + + + + + + + + + + e.com/store/apps/details?id=com.tidusjar.Ombi"> + +*@ @@ -78,6 +93,7 @@ + diff --git a/src/Ombi/webpack.config.vendor.ts b/src/Ombi/webpack.config.vendor.ts index b50e784f4..ed2021aea 100644 --- a/src/Ombi/webpack.config.vendor.ts +++ b/src/Ombi/webpack.config.vendor.ts @@ -67,6 +67,8 @@ module.exports = (env: any) => { "@ngx-translate/core", "@ngx-translate/http-loader", "ngx-order-pipe", + //"smartbanner.js/dist/smartbanner.js", + //"smartbanner.js/dist/smartbanner.css", ], }, output: {