From 129c218c9ede618fb8188b84f21ed1ec8f949afa Mon Sep 17 00:00:00 2001 From: Jamie Date: Sun, 18 Sep 2016 21:53:38 +0100 Subject: [PATCH 1/2] Update CouchPotatoCacher.cs --- PlexRequests.Services/Jobs/CouchPotatoCacher.cs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/PlexRequests.Services/Jobs/CouchPotatoCacher.cs b/PlexRequests.Services/Jobs/CouchPotatoCacher.cs index be36d004f..5ad3d99d8 100644 --- a/PlexRequests.Services/Jobs/CouchPotatoCacher.cs +++ b/PlexRequests.Services/Jobs/CouchPotatoCacher.cs @@ -92,8 +92,12 @@ namespace PlexRequests.Services.Jobs { var movies = Cache.Get(CacheKeys.CouchPotatoQueued); - var items = movies?.movies?.Select(x => x.info?.tmdb_id).Cast().ToArray(); - return items ?? new int[] { }; + var items = movies?.movies?.Select(x => x.info?.tmdb_id); + if(items != null) + { + return items.Cast().ToArray(); + } + return new int[] { }; } catch (Exception e) { @@ -107,4 +111,4 @@ namespace PlexRequests.Services.Jobs Queued(); } } -} \ No newline at end of file +} From 0f9015fc41e7b355c43e928a3e23e62cd37a0ae1 Mon Sep 17 00:00:00 2001 From: Jamie Date: Sun, 18 Sep 2016 21:56:03 +0100 Subject: [PATCH 2/2] Update appveyor.yml --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 1285d7e4b..6c9824580 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -3,9 +3,9 @@ configuration: Release assembly_info: patch: true file: '**\AssemblyInfo.*' - assembly_version: '1.9.1' + assembly_version: '1.9.2' assembly_file_version: '{version}' - assembly_informational_version: '1.9.1' + assembly_informational_version: '1.9.2' before_build: - cmd: appveyor-retry nuget restore build: