FrameBodyTDRC year check

Issue #71 resolved
John Feir created an issue

In org.jaudiotagger.tag.id3.framebody.FrameBodyTDRC:

To prevent the warnings about non-parsable text for audio files that have spaces in the year field, I believe the line:

if (year != null && !(year.equals("")))

should be changed to:

if (year != null && !(year.trim().isEmpty()))

In the method getFormattedText()

I see this error for many MP3s that for some reason have spaces in the year field.

Comments (1)

  1. Log in to comment