Skip to content

Commit

Permalink
fix fanart fallback return
Browse files Browse the repository at this point in the history
  • Loading branch information
fscorrupt committed Apr 3, 2024
1 parent 5822cc8 commit 4ee5309
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion PlexPosterMaker.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ param (
[switch]$Testing
)

$CurrentScriptVersion = "1.0.68"
$CurrentScriptVersion = "1.0.69"
$global:HeaderWritten = $false
$ProgressPreference = 'SilentlyContinue'

Expand Down Expand Up @@ -4185,6 +4185,9 @@ else {

if ($global:OnlyTextless) {
$global:posterurl = GetFanartMoviePoster
if (!$global:FavProvider -eq 'FANART'){
$global:IsFallback = $true
}
}

if (!$global:posterurl) {
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Release.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.68
1.0.69

0 comments on commit 4ee5309

Please sign in to comment.