isMedia ignoring case

Suitable for matching MP4,MKV ...
This commit is contained in:
WoKee 2024-05-21 13:59:46 +08:00 committed by GitHub
parent 6c22b51cbb
commit 8972c52caf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ public class Util {
}
public static boolean isMedia(String text) {
return MEDIA.contains(getExt(text));
return MEDIA.contains(getExt(text).toLowerCase());
}
public static String getExt(String name) {