From 82802bd1aefcbd4739aee46bec16916a35b84db2 Mon Sep 17 00:00:00 2001 From: jvlflame Date: Mon, 5 Oct 2020 02:44:03 -0700 Subject: [PATCH] Fix invalid nfo characters in tag and tagline (#124) --- src/Javinizer/Public/Get-JVNfo.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Javinizer/Public/Get-JVNfo.ps1 b/src/Javinizer/Public/Get-JVNfo.ps1 index 2495db7a..b40e5f05 100644 --- a/src/Javinizer/Public/Get-JVNfo.ps1 +++ b/src/Javinizer/Public/Get-JVNfo.ps1 @@ -111,6 +111,7 @@ function Get-JVNfo { $Maker = Convert-NfoChar -String $Maker -ErrorAction SilentlyContinue $Label = Convert-NfoChar -String $Label -ErrorAction SilentlyContinue $Series = Convert-NfoChar -String $Series -ErrorAction SilentlyContinue + $Tagline = Convert-NfoChar -String $Tagline -ErrorAction SilentlyContinue $releaseYear = ($ReleaseDate -split '-')[0] $nfoString = @" @@ -144,6 +145,7 @@ function Get-JVNfo { } foreach ($item in $Tag) { + $item = Convert-NfoChar -String $Tag -ErrorAction SilentlyContinue $tagNfoString = @" $item