From 4ee530925620766fbefe6bc54bff69755ecb5837 Mon Sep 17 00:00:00 2001 From: FSCorrupt <45659314+fscorrupt@users.noreply.github.com> Date: Wed, 3 Apr 2024 21:06:55 +0200 Subject: [PATCH] fix fanart fallback return --- PlexPosterMaker.ps1 | 8 +++++++- Release.txt | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/PlexPosterMaker.ps1 b/PlexPosterMaker.ps1 index 72e74d6..4304a73 100644 --- a/PlexPosterMaker.ps1 +++ b/PlexPosterMaker.ps1 @@ -3,7 +3,7 @@ param ( [switch]$Testing ) -$CurrentScriptVersion = "1.0.68" +$CurrentScriptVersion = "1.0.69" $global:HeaderWritten = $false $ProgressPreference = 'SilentlyContinue' @@ -4185,6 +4185,9 @@ else { if ($global:OnlyTextless) { $global:posterurl = GetFanartMoviePoster + if (!$global:FavProvider -eq 'FANART'){ + $global:IsFallback = $true + } } if (!$global:posterurl) { @@ -4460,6 +4463,9 @@ else { if (!$global:posterurl) { if ($global:OnlyTextless) { $global:posterurl = GetFanartMovieBackground + if (!$global:FavProvider -eq 'FANART'){ + $global:IsFallback = $true + } } $global:posterurl = GetTVDBMovieBackground $global:IsFallback = $true diff --git a/Release.txt b/Release.txt index 26e1b45..1e9954e 100644 --- a/Release.txt +++ b/Release.txt @@ -1 +1 @@ -1.0.68 \ No newline at end of file +1.0.69 \ No newline at end of file