fix unicode song metadata on windows (#523)

* test setting utf8 encoding with ffprobe

* use utf8 encoding for console (logging) output

* use proper sink package

* reset song metadata on windows

* fix nfo processing with missing year

* update changelog
This commit is contained in:
Jason Dove
2021-12-01 13:43:09 -06:00
committed by GitHub
parent 094ed71ad0
commit 35ba2bab2c
8 changed files with 3899 additions and 6 deletions
+3
View File
@@ -2,6 +2,7 @@ using System;
using System.Data;
using System.IO;
using System.Reflection;
using System.Text;
using System.Threading.Channels;
using Blazored.LocalStorage;
using Dapper;
@@ -120,6 +121,8 @@ namespace ErsatzTV
services.AddCourier(Assembly.GetAssembly(typeof(LibraryScanProgress)));
services.AddBlazoredLocalStorage();
Console.OutputEncoding = Encoding.UTF8;
Log.Logger.Information(
"ErsatzTV version {Version}",
Assembly.GetEntryAssembly()?.GetCustomAttribute<AssemblyInformationalVersionAttribute>()