Skip to content

Commit

Permalink
fix: Unexpected token '}'
Browse files Browse the repository at this point in the history
  • Loading branch information
fscorrupt committed Aug 23, 2024
1 parent abacf6f commit 5b0ec7a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Posterizarr.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[string]$mediatype
)

$CurrentScriptVersion = "1.3.8"
$CurrentScriptVersion = "1.3.9"
$global:HeaderWritten = $false
$ProgressPreference = 'SilentlyContinue'

Expand Down Expand Up @@ -6596,11 +6596,11 @@ Elseif ($Tautulli) {

if ($Platform -eq 'Windows'){
$cjkPattern = '[\p{IsHiragana}\p{IsKatakana}\p{IsCJKUnifiedIdeographs}\p{IsCyrillic}\p{IsDevanagari}\p{IsThai}\p{IsEthiopic}\p{IsGeorgian}\p{IsArmenian}\p{IsBengali}]'
}
Else {
}
Else {
$cjkPattern = '[\p{IsHiragana}\p{IsKatakana}\p{IsCJKUnifiedIdeographs}\p{IsCyrillic}\p{IsArabic}\p{IsHebrew}\p{IsDevanagari}\p{IsThai}\p{IsEthiopic}\p{IsGeorgian}\p{IsArmenian}\p{IsBengali}]'
}
}

if ($entry.title -match $cjkPattern) {
$Titletext = $entry.originalTitle
}
Expand Down
2 changes: 1 addition & 1 deletion Release.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.8
1.3.9

0 comments on commit 5b0ec7a

Please sign in to comment.