Skip to content

Commit

Permalink
fix: bug fixes on poster size filter
Browse files Browse the repository at this point in the history
Closes #135
  • Loading branch information
fscorrupt committed Aug 15, 2024
1 parent fc7ccf1 commit 252be4f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions Posterizarr.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[string]$mediatype
)

$CurrentScriptVersion = "1.3.5"
$CurrentScriptVersion = "1.3.6"
$global:HeaderWritten = $false
$ProgressPreference = 'SilentlyContinue'

Expand Down Expand Up @@ -1015,7 +1015,7 @@ function GetTMDBMovieBackground {
$FavPoster = ($response.images.backdrops | Where-Object { $null -eq $_.iso_639_1 -and $_.width -ge $global:BgTcMinWidth -and $_.height -ge $global:BgTcMinHeight })
}
Else {
$FavPoster = ($response.images.backdrops | Where-Object { iso_639_1 -eq $lang -and $_.width -ge $global:BgTcMinWidth -and $_.height -ge $global:BgTcMinHeight })
$FavPoster = ($response.images.backdrops | Where-Object { $_.iso_639_1 -eq $lang -and $_.width -ge $global:BgTcMinWidth -and $_.height -ge $global:BgTcMinHeight })
}
}
Else {
Expand Down Expand Up @@ -1220,7 +1220,7 @@ function GetTMDBShowPoster {
$FavPoster = ($response.images.posters | Where-Object { $null -eq $_.iso_639_1 -and $_.width -ge $global:PosterMinWidth -and $_.height -ge $global:PosterMinHeight })
}
Else {
$FavPoster = ($response.images.posters | Where-Object { iso_639_1 -eq $lang -and $_.width -ge $global:PosterMinWidth -and $_.height -ge $global:PosterMinHeight })
$FavPoster = ($response.images.posters | Where-Object { $_.iso_639_1 -eq $lang -and $_.width -ge $global:PosterMinWidth -and $_.height -ge $global:PosterMinHeight })
}
}
Else {
Expand Down Expand Up @@ -1425,7 +1425,7 @@ function GetTMDBSeasonPoster {
$FavPoster = ($responseBackup.images.posters | Where-Object { $null -eq $_.iso_639_1 -and $_.width -ge $global:PosterMinWidth -and $_.height -ge $global:PosterMinHeight })
}
Else {
$FavPoster = ($responseBackup.images.posters | Where-Object { iso_639_1 -eq $lang -and $_.width -ge $global:PosterMinWidth -and $_.height -ge $global:PosterMinHeight })
$FavPoster = ($responseBackup.images.posters | Where-Object { $_.iso_639_1 -eq $lang -and $_.width -ge $global:PosterMinWidth -and $_.height -ge $global:PosterMinHeight })
}
}
Else {
Expand Down Expand Up @@ -1474,7 +1474,7 @@ function GetTMDBSeasonPoster {
$FavPoster = ($response.posters | Where-Object { $null -eq $_.iso_639_1 -and $_.width -ge $global:PosterMinWidth -and $_.height -ge $global:PosterMinHeight })
}
Else {
$FavPoster = ($response.posters | Where-Object { iso_639_1 -eq $lang -and $_.width -ge $global:PosterMinWidth -and $_.height -ge $global:PosterMinHeight })
$FavPoster = ($response.posters | Where-Object { $_.iso_639_1 -eq $lang -and $_.width -ge $global:PosterMinWidth -and $_.height -ge $global:PosterMinHeight })
}
}
Else {
Expand Down Expand Up @@ -1678,7 +1678,7 @@ function GetTMDBShowBackground {
$FavPoster = ($response.images.backdrops | Where-Object { $null -eq $_.iso_639_1 -and $_.width -ge $global:PosterMinWidth -and $_.height -ge $global:PosterMinHeight })
}
Else {
$FavPoster = ($response.images.backdrops | Where-Object { iso_639_1 -eq $lang -and $_.width -ge $global:PosterMinWidth -and $_.height -ge $global:PosterMinHeight })
$FavPoster = ($response.images.backdrops | Where-Object { $_.iso_639_1 -eq $lang -and $_.width -ge $global:PosterMinWidth -and $_.height -ge $global:PosterMinHeight })
}
}
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.5
1.3.6

0 comments on commit 252be4f

Please sign in to comment.