From af6b3f0ac91709a482f399f1cb74c858eb88bcae Mon Sep 17 00:00:00 2001 From: FSCorrupt <45659314+fscorrupt@users.noreply.github.com> Date: Wed, 14 Aug 2024 09:04:27 +0200 Subject: [PATCH] fix: Plex TC search could not find images - there was a bug because of a missing char, it should now find those TitleCards. --- Posterizarr.ps1 | 34 +++++++++++++++++----------------- Release.txt | 2 +- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/Posterizarr.ps1 b/Posterizarr.ps1 index 8c4c94e..dd6d817 100644 --- a/Posterizarr.ps1 +++ b/Posterizarr.ps1 @@ -8,7 +8,7 @@ [string]$mediatype ) -$CurrentScriptVersion = "1.3.0" +$CurrentScriptVersion = "1.3.1" $global:HeaderWritten = $false $ProgressPreference = 'SilentlyContinue' @@ -7963,7 +7963,7 @@ Elseif ($Tautulli) { } if (!$global:posterurl) { $global:IsFallback = $true - if ($entry.PlexTitleCardUrl) { + if ($entry.PlexTitleCardUrls) { GetPlexArtwork -Type ": $global:show_name 'Season $global:season_number - Episode $global:episodenumber' Title Card" -ArtUrl $ArtUrl -TempImage $EpisodeImage } Else { @@ -7985,7 +7985,7 @@ Elseif ($Tautulli) { } if (!$global:posterurl) { $global:IsFallback = $true - if ($entry.PlexTitleCardUrl) { + if ($entry.PlexTitleCardUrls) { GetPlexArtwork -Type ": $global:show_name 'Season $global:season_number - Episode $global:episodenumber' Title Card" -ArtUrl $ArtUrl -TempImage $EpisodeImage } Else { @@ -8008,7 +8008,7 @@ Elseif ($Tautulli) { } if (!$global:posterurl) { $global:IsFallback = $true - if ($entry.PlexTitleCardUrl) { + if ($entry.PlexTitleCardUrls) { GetPlexArtwork -Type ": $global:show_name 'Season $global:season_number - Episode $global:episodenumber' Title Card" -ArtUrl $ArtUrl -TempImage $EpisodeImage } Else { @@ -8027,7 +8027,7 @@ Elseif ($Tautulli) { } if (!$global:posterurl) { $global:IsFallback = $true - if ($entry.PlexTitleCardUrl) { + if ($entry.PlexTitleCardUrls) { GetPlexArtwork -Type ": $global:show_name 'Season $global:season_number - Episode $global:episodenumber' Title Card" -ArtUrl $ArtUrl -TempImage $EpisodeImage } Else { @@ -8401,7 +8401,7 @@ Elseif ($Tautulli) { } if (!$global:posterurl) { $global:IsFallback = $true - if ($entry.PlexTitleCardUrl) { + if ($entry.PlexTitleCardUrls) { GetPlexArtwork -Type ": $global:show_name 'Season $global:season_number - Episode $global:episodenumber' Title Card" -ArtUrl $ArtUrl -TempImage $EpisodeImage } Else { @@ -8436,7 +8436,7 @@ Elseif ($Tautulli) { $global:posterurl = GetTVDBTitleCard if (!$global:posterurl) { $global:IsFallback = $true - if ($entry.PlexTitleCardUrl) { + if ($entry.PlexTitleCardUrls) { GetPlexArtwork -Type ": $global:show_name 'Season $global:season_number - Episode $global:episodenumber' Title Card" -ArtUrl $ArtUrl -TempImage $EpisodeImage } Else { @@ -8467,7 +8467,7 @@ Elseif ($Tautulli) { } if (!$global:posterurl) { $global:IsFallback = $true - if ($entry.PlexTitleCardUrl) { + if ($entry.PlexTitleCardUrls) { GetPlexArtwork -Type ": $global:show_name 'Season $global:season_number - Episode $global:episodenumber' Title Card" -ArtUrl $ArtUrl -TempImage $EpisodeImage } Else { @@ -8502,7 +8502,7 @@ Elseif ($Tautulli) { $global:posterurl = GetTMDBTitleCard if (!$global:posterurl) { $global:IsFallback = $true - if ($entry.PlexTitleCardUrl) { + if ($entry.PlexTitleCardUrls) { GetPlexArtwork -Type ": $global:show_name 'Season $global:season_number - Episode $global:episodenumber' Title Card" -ArtUrl $ArtUrl -TempImage $EpisodeImage } Else { @@ -11177,7 +11177,7 @@ else { } if (!$global:posterurl) { $global:IsFallback = $true - if ($entry.PlexTitleCardUrl) { + if ($entry.PlexTitleCardUrls) { GetPlexArtwork -Type ": $global:show_name 'Season $global:season_number - Episode $global:episodenumber' Title Card" -ArtUrl $ArtUrl -TempImage $EpisodeImage } Else { @@ -11199,7 +11199,7 @@ else { } if (!$global:posterurl) { $global:IsFallback = $true - if ($entry.PlexTitleCardUrl) { + if ($entry.PlexTitleCardUrls) { GetPlexArtwork -Type ": $global:show_name 'Season $global:season_number - Episode $global:episodenumber' Title Card" -ArtUrl $ArtUrl -TempImage $EpisodeImage } Else { @@ -11222,7 +11222,7 @@ else { } if (!$global:posterurl) { $global:IsFallback = $true - if ($entry.PlexTitleCardUrl) { + if ($entry.PlexTitleCardUrls) { GetPlexArtwork -Type ": $global:show_name 'Season $global:season_number - Episode $global:episodenumber' Title Card" -ArtUrl $ArtUrl -TempImage $EpisodeImage } Else { @@ -11241,7 +11241,7 @@ else { } if (!$global:posterurl) { $global:IsFallback = $true - if ($entry.PlexTitleCardUrl) { + if ($entry.PlexTitleCardUrls) { GetPlexArtwork -Type ": $global:show_name 'Season $global:season_number - Episode $global:episodenumber' Title Card" -ArtUrl $ArtUrl -TempImage $EpisodeImage } Else { @@ -11599,7 +11599,7 @@ else { } if (!$global:posterurl) { $global:IsFallback = $true - if ($entry.PlexTitleCardUrl) { + if ($entry.PlexTitleCardUrls) { GetPlexArtwork -Type ": $global:show_name 'Season $global:season_number - Episode $global:episodenumber' Title Card" -ArtUrl $ArtUrl -TempImage $EpisodeImage } Else { @@ -11634,7 +11634,7 @@ else { $global:posterurl = GetTVDBTitleCard if (!$global:posterurl) { $global:IsFallback = $true - if ($entry.PlexTitleCardUrl) { + if ($entry.PlexTitleCardUrls) { GetPlexArtwork -Type ": $global:show_name 'Season $global:season_number - Episode $global:episodenumber' Title Card" -ArtUrl $ArtUrl -TempImage $EpisodeImage } Else { @@ -11665,7 +11665,7 @@ else { } if (!$global:posterurl) { $global:IsFallback = $true - if ($entry.PlexTitleCardUrl) { + if ($entry.PlexTitleCardUrls) { GetPlexArtwork -Type ": $global:show_name 'Season $global:season_number - Episode $global:episodenumber' Title Card" -ArtUrl $ArtUrl -TempImage $EpisodeImage } Else { @@ -11700,7 +11700,7 @@ else { $global:posterurl = GetTMDBTitleCard if (!$global:posterurl) { $global:IsFallback = $true - if ($entry.PlexTitleCardUrl) { + if ($entry.PlexTitleCardUrls) { GetPlexArtwork -Type ": $global:show_name 'Season $global:season_number - Episode $global:episodenumber' Title Card" -ArtUrl $ArtUrl -TempImage $EpisodeImage } Else { diff --git a/Release.txt b/Release.txt index 589268e..6261a05 100644 --- a/Release.txt +++ b/Release.txt @@ -1 +1 @@ -1.3.0 \ No newline at end of file +1.3.1 \ No newline at end of file