AudioFile.createDefaultTag() is broken, compares e.g. "flac" to ".flac"

Issue #118 resolved
Joakim Andersson created an issue

In AudioFile.createDefaultTag(), file extensions without the period (e.g. SupportedFileFormat.FLAC.getFileSuffix()) are compared to file extensions with the period: file.getName().substring(file.getName().lastIndexOf('.')). Thus all the method does is throw a runtime exception.

Comments (1)

  1. Log in to comment