Semicolon on Artist Tag

Issue #283 new
Former user created an issue

I have a mp3 file where the value from the ARTIST field is separated by semicolons, like this:

BaianaSystem; As Ganhadeiras de Itapuã

When i use the getFirst method, it returns this:

BaianaSystemAs Ganhadeiras de Itapuã

I tried to use the getFields method, but it only returns one value. Is there some way of retrieving the value separated by the semicolon or the multiple values? sorry for the dumb question, thanks in advance.

Comments (3)

  1. IJabz repo owner

    At least in ID3v24 fields should be separated by null byte i.e 0 not semi colons, is the file ID3v23 or ID3v24 ?

  2. Davi Pacheco

    ID3v23. When i copy and paste the string, the space appears. If i try to compare "BaianaSystemAs Ganhadeiras de Itapuã".split(" ").get(0) == "BaianaSystemAs" it returns false. the string also doesn't contains "BaianaSystemAs". Very strange, can't imagine why this is happening.

  3. IJabz repo owner

    We also use null seperator for ID3v23, although not strictly standard it is accepted use as doesnt break anything, more flexible then using something like ;

  4. Log in to comment