Skip to content

Commit

Permalink
fix: Plex TC search could not find images
Browse files Browse the repository at this point in the history
- there was a bug because of a missing char, it should now find those TitleCards.
  • Loading branch information
fscorrupt committed Aug 14, 2024
1 parent b04d0f0 commit af6b3f0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
34 changes: 17 additions & 17 deletions Posterizarr.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[string]$mediatype
)

$CurrentScriptVersion = "1.3.0"
$CurrentScriptVersion = "1.3.1"
$global:HeaderWritten = $false
$ProgressPreference = 'SilentlyContinue'

Expand Down Expand Up @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion Release.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.0
1.3.1

0 comments on commit af6b3f0

Please sign in to comment.