From 5b0ec7ac64d1091da6673b8b3877799162749a3e Mon Sep 17 00:00:00 2001 From: FSCorrupt <45659314+fscorrupt@users.noreply.github.com> Date: Fri, 23 Aug 2024 11:43:22 +0200 Subject: [PATCH] fix: Unexpected token '}' --- Posterizarr.ps1 | 8 ++++---- Release.txt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Posterizarr.ps1 b/Posterizarr.ps1 index 9ac9be8..8965488 100644 --- a/Posterizarr.ps1 +++ b/Posterizarr.ps1 @@ -8,7 +8,7 @@ [string]$mediatype ) -$CurrentScriptVersion = "1.3.8" +$CurrentScriptVersion = "1.3.9" $global:HeaderWritten = $false $ProgressPreference = 'SilentlyContinue' @@ -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 } diff --git a/Release.txt b/Release.txt index 06c7347..2fe9589 100644 --- a/Release.txt +++ b/Release.txt @@ -1 +1 @@ -1.3.8 \ No newline at end of file +1.3.9 \ No newline at end of file