mono / taglib-sharp

Library for reading and writing metadata in media files
GNU Lesser General Public License v2.1
1.29k stars 312 forks source link

Read full tag string #212

Open xmha97 opened 4 years ago

xmha97 commented 4 years ago

Hello, Comments tag is "1;2;3;4;" image

I used this code to get the comment tag.

            var tfile = TagLib.File.Create("1.m4a");
            MessageBox.Show(tfile.Tag.Comment);

But this return only first item: ( 1;2;3;4;) image Please help me to read full tag string.

syl-ans commented 4 years ago

Hello team, I have more or less the same issue. For music from "AC/DC" taglib reads only "AC". The special character and what follows is not sent.
The problem occurs for all the tags I tested : FirstArtist, FirstAlbumArtists and FirstPerformer.

Thanks in advance for a way to bypass this problem.

xmha97 commented 4 years ago

Hello team, I have more or less the same issue. For music from "AC/DC" taglib reads only "AC". The special character and what follows is not sent. The problem occurs for all the tags I tested : FirstArtist, FirstAlbumArtists and FirstPerformer.

Thanks in advance for a way to bypass this problem.

Hi, @syl-ans Let me know if you find a solution.

syl-ans commented 4 years ago

Hi @xmha97, Maybe what we are experiencing is not a problem. Could be "works as designed". If you look at another issue reported in github : #193 the user complains that AC/DC is red as multiple artists. One of the response given says that in id3v2 normally the separator for multiple artist is ";", he says then that "/" can be used too. It would mean that in your case 1;2;3;4 should be sent as 1 and 2 and 3 and 4. So if you read just one item you get the first of the list. So I decided as a workaround to change AC/DC into AC-DC. Not very glorious but works !

Hope this helps.