Skip to content

Commit

Permalink
fix reporting of when Title Card is downloaded
Browse files Browse the repository at this point in the history
  • Loading branch information
bullmoose20 committed Mar 19, 2024
1 parent 89bdd50 commit 7f2bee4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions PlexPosterMaker.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4133,13 +4133,13 @@ else {
Invoke-WebRequest -Uri $global:posterurl -OutFile $EpisodeImage
Write-Log -Subtext "Title Card url: $global:posterurl" -Path $global:ScriptRoot\Logs\Scriptlog.log -Type Info
if ($global:posterurl -like 'https://image.tmdb.org*') {
Write-Log -Subtext "Downloading Poster from 'TMDB'" -Path $global:ScriptRoot\Logs\Scriptlog.log -Type debug
Write-Log -Subtext "Downloading Title Card from 'TMDB'" -Path $global:ScriptRoot\Logs\Scriptlog.log -Type debug
if ($global:FavProvider -ne 'TMDB') {
$global:IsFallback = $true
}
}
if ($global:posterurl -like 'https://artworks.thetvdb.com*') {
Write-Log -Subtext "Downloading Poster from 'TVDB'" -Path $global:ScriptRoot\Logs\Scriptlog.log -Type debug
Write-Log -Subtext "Downloading Title Card from 'TVDB'" -Path $global:ScriptRoot\Logs\Scriptlog.log -Type debug
if ($global:FavProvider -ne 'TVDB') {
$global:IsFallback = $true
}
Expand Down Expand Up @@ -4203,13 +4203,13 @@ else {
Invoke-WebRequest -Uri $global:posterurl -OutFile $EpisodeImage
Write-Log -Subtext "Poster url: $global:posterurl" -Path $global:ScriptRoot\Logs\Scriptlog.log -Type Info
if ($global:posterurl -like 'https://image.tmdb.org*') {
Write-Log -Subtext "Downloading Poster from 'TMDB'" -Path $global:ScriptRoot\Logs\Scriptlog.log -Type debug
Write-Log -Subtext "Downloading Title Card from 'TMDB'" -Path $global:ScriptRoot\Logs\Scriptlog.log -Type debug
if ($global:FavProvider -ne 'TMDB') {
$global:IsFallback = $true
}
}
if ($global:posterurl -like 'https://artworks.thetvdb.com*') {
Write-Log -Subtext "Downloading Poster from 'TVDB'" -Path $global:ScriptRoot\Logs\Scriptlog.log -Type debug
Write-Log -Subtext "Downloading Title Card from 'TVDB'" -Path $global:ScriptRoot\Logs\Scriptlog.log -Type debug
if ($global:FavProvider -ne 'TVDB') {
$global:IsFallback = $true
}
Expand Down

0 comments on commit 7f2bee4

Please sign in to comment.