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:
@@ -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>()
|
||||
|
||||
Reference in New Issue
Block a user