public override void Process(object obj) { FileInfo file = obj as FileInfo; if (TagUtils.HasTagV2(file)) { TagVersionProcessor converter = new TagVersionProcessor(ID3.Version.v2_0); converter.Process(TagUtils.ReadTagV2(file)); } }
public override void Process(object obj) { FileInfo file = obj as FileInfo; if (TagUtils.HasTagV2(file)) { try { TagVersionProcessor converter = new TagVersionProcessor(ID3.Version.v2_4); converter.Process(TagUtils.ReadTagV2(file)); } catch (Exception e) { Console.WriteLine(e.StackTrace); } } }