ID3 ANSI2Unicode Convert for .NET Core is an effort to port an entire mp3 library from ANSI encoding to Unicode in order to have better support using modern players that don't support ANSI.
This utility uses the IDSharp for.NET Core library but it can also be used with the id3 library, if wanted for any reason.
NOTE - The code in this repo has not been thoroughly tested.
This version of the utility should support .NET Core 1.1 and 2.0, as well as .NET Standard 1.3, 1.5 and 2.0 but was tested only against 2.x.
- A javascript version; probably based on Node.js
- Fork and/or Clone this repo to a desired location(e.g. C:\Projects\ID3)
- Fork or Clone the following repo to the same location as above(e.g. C:\Projects\ID3): https://github.com/RandallFlagg/IdSharpCore
- Try the example below to get started
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
namespace Example
{
class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Start Converting!");
IID3Converter converter = new ID3SharpConverter();
var recursive = false;
var configuration = (
path: @"C:\My Audio Files",
ext: "*.mp3",
searchOption: recursive ? SearchOption.AllDirectories : SearchOption.TopDirectoryOnly
);
if (converter.Init(configuration))
{
Console.WriteLine("Before:");
converter.PrintTag();
converter.Execute();
Console.WriteLine("After:");
converter.PrintTag();
Console.WriteLine("Done Converting!");
}
}
}
}