From 5d7a374fb50cd28c616218cdefc40f6388ee9fe9 Mon Sep 17 00:00:00 2001 From: devoxin Date: Tue, 7 May 2024 21:50:42 +0100 Subject: [PATCH] equalsIgnoreCase title + isrc --- .../lavaplayer/container/matroska/MatroskaStreamingFile.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/src/main/java/com/sedmelluq/discord/lavaplayer/container/matroska/MatroskaStreamingFile.java b/main/src/main/java/com/sedmelluq/discord/lavaplayer/container/matroska/MatroskaStreamingFile.java index fdb5d734..73b0012d 100644 --- a/main/src/main/java/com/sedmelluq/discord/lavaplayer/container/matroska/MatroskaStreamingFile.java +++ b/main/src/main/java/com/sedmelluq/discord/lavaplayer/container/matroska/MatroskaStreamingFile.java @@ -452,11 +452,11 @@ private void parseSimpleTag(MatroskaElement simpleTagElement) throws IOException tagName = reader.asString(child); } else if (child.is(MatroskaElementType.TagString)) { // https://www.matroska.org/technical/tagging.html - if ("title".equals(tagName) && title == null) { + if ("title".equalsIgnoreCase(tagName) && title == null) { title = reader.asString(child); } else if ("artist".equalsIgnoreCase(tagName)) { artist = reader.asString(child); - } else if ("isrc".equals(tagName)) { + } else if ("isrc".equalsIgnoreCase(tagName)) { isrc = reader.asString(child); } }