Commit f6ecaddc by Philip Simpson

Improved ID3 chapter parsing code from feedback given.

parent 5153e9e9
...@@ -505,7 +505,7 @@ public final class Id3Decoder implements MetadataDecoder { ...@@ -505,7 +505,7 @@ public final class Id3Decoder implements MetadataDecoder {
} }
if (frame instanceof TextInformationFrame) { if (frame instanceof TextInformationFrame) {
TextInformationFrame textFrame = (TextInformationFrame)frame; TextInformationFrame textFrame = (TextInformationFrame)frame;
if (textFrame.id != null && textFrame.id.equals("TIT2")) { if ("TIT2".equals(textFrame.id)) {
title = textFrame.description; title = textFrame.description;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment