System.NotImplementedException:' ID3v2版本2不受支持。'
这是我的代码到目前为止的样子:
Mp3Lib.Mp3File mFile = new Mp3Lib.Mp3File(file: @"C:\Users\user\Music\song.mp3");
string mArtist = mFile.TagHandler.Artist;
答案 0 :(得分:0)
您使用的'MP3Lib'库似乎不支持ID3v2版本2.
作为替代方案,我建议您使用ATL.NET(https://github.com/Zeugma440/atldotnet)或TagLibSharp(https://github.com/mono/taglib-sharp)。
两者都是最新的库,可以从MP3文件中读取ID3v2.x元数据等等。