From 1a1a15df34be9d4eb1e760c74e66549d30df17d9 Mon Sep 17 00:00:00 2001 From: Jamie Date: Thu, 23 May 2019 16:44:11 +0100 Subject: [PATCH 1/6] Create FUNDING.yml --- .github/FUNDING.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 000000000..419d87940 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,8 @@ +# These are supported funding model platforms + +github: [tidusjar] +patreon: tidusjar +#open_collective: # Replace with a single Open Collective username +#ko_fi: # Replace with a single Ko-fi username +#tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +custom: https://paypal.me/PlexRequestsNet From 88cdfea9a9d1ef7860773581bcbc74c3cc9bea51 Mon Sep 17 00:00:00 2001 From: tidusjar Date: Fri, 24 May 2019 21:55:37 +0100 Subject: [PATCH 2/6] Logging and slight change to the string matching now not dependant on Thread Culture #2866 --- src/Ombi.Schedule/Jobs/Plex/PlexContentSync.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Ombi.Schedule/Jobs/Plex/PlexContentSync.cs b/src/Ombi.Schedule/Jobs/Plex/PlexContentSync.cs index 964832b44..f3b0b4f26 100644 --- a/src/Ombi.Schedule/Jobs/Plex/PlexContentSync.cs +++ b/src/Ombi.Schedule/Jobs/Plex/PlexContentSync.cs @@ -160,7 +160,8 @@ namespace Ombi.Schedule.Jobs.Plex foreach (var content in allContent) { - if (content.viewGroup.Equals(PlexMediaType.Episode.ToString(), StringComparison.CurrentCultureIgnoreCase)) + Logger.LogDebug($"Got type '{content.viewGroup}' to process"); + if (content.viewGroup.Equals(PlexMediaType.Episode.ToString(), StringComparison.InvariantCultureIgnoreCase)) { Logger.LogDebug("Found some episodes, this must be a recently added sync"); var count = 0; @@ -204,7 +205,7 @@ namespace Ombi.Schedule.Jobs.Plex episodesProcessed.AddRange(episodesAdded.Select(x => x.Id)); } } - if (content.viewGroup.Equals(PlexMediaType.Show.ToString(), StringComparison.CurrentCultureIgnoreCase)) + if (content.viewGroup.Equals(PlexMediaType.Show.ToString(), StringComparison.InvariantCultureIgnoreCase)) { // Process Shows Logger.LogDebug("Processing TV Shows"); @@ -234,7 +235,7 @@ namespace Ombi.Schedule.Jobs.Plex await Repo.SaveChangesAsync(); } - if (content.viewGroup.Equals(PlexMediaType.Movie.ToString(), StringComparison.CurrentCultureIgnoreCase)) + if (content.viewGroup.Equals(PlexMediaType.Movie.ToString(), StringComparison.InvariantCultureIgnoreCase)) { Logger.LogDebug("Processing Movies"); foreach (var movie in content?.Metadata ?? new Metadata[] { }) From 1cf1c06e5ea94d32c653fa405d22b840604ba4e8 Mon Sep 17 00:00:00 2001 From: tidusjar Date: Fri, 31 May 2019 22:30:44 +0100 Subject: [PATCH 3/6] Remove the need for the schedules.db #2994 --- src/Ombi/Startup.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Ombi/Startup.cs b/src/Ombi/Startup.cs index bbf56c517..507a9ef83 100644 --- a/src/Ombi/Startup.cs +++ b/src/Ombi/Startup.cs @@ -4,6 +4,7 @@ using AutoMapper; using AutoMapper.EquivalencyExpression; using Hangfire; using Hangfire.Dashboard; +using Hangfire.MemoryStorage; using Hangfire.SQLite; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; @@ -93,16 +94,15 @@ namespace Ombi services.AddSwagger(); services.AddAppSettingsValues(Configuration); - var i = StoragePathSingleton.Instance; + var i = StoragePathSingleton.Instance; if (string.IsNullOrEmpty(i.StoragePath)) { i.StoragePath = string.Empty; } - var sqliteStorage = $"Data Source={Path.Combine(i.StoragePath, "Schedules.db")};"; services.AddHangfire(x => { - x.UseSQLiteStorage(sqliteStorage); + x.UseMemoryStorage(); x.UseActivator(new IoCJobActivator(services.BuildServiceProvider())); }); From f5ebea203886fba70baa40d5697ca042d3bc44b1 Mon Sep 17 00:00:00 2001 From: Jamie Date: Tue, 2 Jul 2019 11:34:31 +0100 Subject: [PATCH 4/6] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 18ce95bc1..f2f86ba68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## (unreleased) +## v3.0.4654 (2019-07-02) ### **New Features** From 4109b7d201bae79d90155d49b4d96c8ccbdc528d Mon Sep 17 00:00:00 2001 From: Jamie Date: Tue, 2 Jul 2019 16:06:59 +0100 Subject: [PATCH 5/6] Update appsettings.json --- src/Ombi/appsettings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ombi/appsettings.json b/src/Ombi/appsettings.json index 7d352f0dc..8a9e38008 100644 --- a/src/Ombi/appsettings.json +++ b/src/Ombi/appsettings.json @@ -2,7 +2,7 @@ "Logging": { "IncludeScopes": false, "LogLevel": { - "Default": "Debug", + "Default": "Information", "System": "Information", "Microsoft": "None", "Hangfire": "None" From 609dc831aaff8ed1df87bd3e1e129de89626b1cd Mon Sep 17 00:00:00 2001 From: Jamie Date: Tue, 2 Jul 2019 16:26:49 +0100 Subject: [PATCH 6/6] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f2f86ba68..e1266bfac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## v3.0.4654 (2019-07-02) +## v3.0.4659 (2019-07-02) ### **New Features**