Taglib sharp not editing rating

后端 未结 1 1770
南旧
南旧 2021-01-25 03:57

I have encountered a very strange problem while using Taglib sharp. I am changes the rating of video file by using code shown below.

        TagLib.File file = T         


        
相关标签:
1条回答
  • 2021-01-25 04:27

    Looking at the answer to Check music file rating with VB.NET + WinForms, the likely cause is that your tags may be getting saved as iD3v2.4 and Windows only supports iD3v2.3.

    You can force TagLib# to save your tags as iD3v2.3 with the following code:

    TagLib.Id3v2.Tag.DefaultVersion = 3;
    TagLib.Id3v2.Tag.ForceDefaultVersion = true;
    
    0 讨论(0)
提交回复
热议问题