Skip to content

Commit

Permalink
fix: show poster fallback for season
Browse files Browse the repository at this point in the history
  • Loading branch information
fscorrupt committed Dec 4, 2024
1 parent bddb37c commit 7960944
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions Posterizarr.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ param (
[switch]$SyncEmby
)

$CurrentScriptVersion = "1.9.12"
$CurrentScriptVersion = "1.9.13"
$global:HeaderWritten = $false
$ProgressPreference = 'SilentlyContinue'

Expand Down Expand Up @@ -10336,15 +10336,15 @@ Elseif ($Tautulli) {
if (!$global:posterurl -and $ShowFallback -eq 'true') {
# Lets just try to grab a show poster.
Write-Entry -Subtext "Fallback to Show Poster..." -Path $global:ScriptRoot\Logs\Scriptlog.log -Color DarkMagenta -log Info
$global:posterurl = GetTMDBSeasonPoster
$global:posterurl = GetTMDBShowPoster
if ($global:posterurl) {
Write-Entry -Subtext "Using the Show Poster as Season Fallback..." -Path $global:ScriptRoot\Logs\Scriptlog.log -Color Yellow -log Warning
$global:IsFallback = $true
$global:FallbackText = 'True-Show'
}
Else {
# Lets just try to grab a show poster.
$global:posterurl = GetTVDBSeasonPoster
$global:posterurl = GetTVDBShowPoster
if ($global:posterurl) {
Write-Entry -Subtext "Using the Show Poster as Season Fallback..." -Path $global:ScriptRoot\Logs\Scriptlog.log -Color Yellow -log Warning
$global:IsFallback = $true
Expand Down Expand Up @@ -14858,15 +14858,15 @@ Elseif ($OtherMediaServerUrl -and $OtherMediaServerApiKey -and $UseOtherMediaSer
if (!$global:posterurl -and $ShowFallback -eq 'true') {
# Lets just try to grab a show poster.
Write-Entry -Subtext "Fallback to Show Poster..." -Path $global:ScriptRoot\Logs\Scriptlog.log -Color DarkMagenta -log Info
$global:posterurl = GetTMDBSeasonPoster
$global:posterurl = GetTMDBShowPoster
if ($global:posterurl) {
Write-Entry -Subtext "Using the Show Poster as Season Fallback..." -Path $global:ScriptRoot\Logs\Scriptlog.log -Color Yellow -log Warning
$global:IsFallback = $true
$global:FallbackText = 'True-Show'
}
Else {
# Lets just try to grab a show poster.
$global:posterurl = GetTVDBSeasonPoster
$global:posterurl = GetTVDBShowPoster
if ($global:posterurl) {
Write-Entry -Subtext "Using the Show Poster as Season Fallback..." -Path $global:ScriptRoot\Logs\Scriptlog.log -Color Yellow -log Warning
$global:IsFallback = $true
Expand Down Expand Up @@ -19005,15 +19005,15 @@ else {
if (!$global:posterurl -and $ShowFallback -eq 'true') {
# Lets just try to grab a show poster.
Write-Entry -Subtext "Fallback to Show Poster..." -Path $global:ScriptRoot\Logs\Scriptlog.log -Color DarkMagenta -log Info
$global:posterurl = GetTMDBSeasonPoster
$global:posterurl = GetTMDBShowPoster
if ($global:posterurl) {
Write-Entry -Subtext "Using the Show Poster as Season Fallback..." -Path $global:ScriptRoot\Logs\Scriptlog.log -Color Yellow -log Warning
$global:IsFallback = $true
$global:FallbackText = 'True-Show'
}
Else {
# Lets just try to grab a show poster.
$global:posterurl = GetTVDBSeasonPoster
$global:posterurl = GetTVDBShowPoster
if ($global:posterurl) {
Write-Entry -Subtext "Using the Show Poster as Season Fallback..." -Path $global:ScriptRoot\Logs\Scriptlog.log -Color Yellow -log Warning
$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.9.12
1.9.13

0 comments on commit 7960944

Please sign in to comment.