MCPcopy Create free account
hub / github.com/demoth/jake2 / checkMP3

Method checkMP3

client/src/main/java/jake2/client/CDAudio.java:307–313  ·  view source on GitHub ↗
(File f)

Source from the content-addressed store, hash-verified

305 }
306
307 private static boolean checkMP3(File f) {
308 String name = f.getName();
309 if(name.contains(".mp3"))
310 return true;
311 else
312 return false;
313 }
314
315 private static void Pause() {
316 if (cdfile == -1 || enabled == false || playing == false)

Callers 1

GetAudioDiskInfoMethod · 0.95

Calls 1

getNameMethod · 0.65

Tested by

no test coverage detected