This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static String getKeyForClass(Class<?> classToCheck) { | |
int index = -1; | |
int internalClassesLength = ManagerRegistry.INTERNAL_CLASSES.size(); | |
// Check if this class has a superclass defined in this project. | |
for (int i = 0; i < internalClassesLength; i++) { | |
if (ManagerRegistry.INTERNAL_CLASSES.get(i).isAssignableFrom(classToCheck)) { | |
index = i; | |
break; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Make sure the entire page is loaded, zoom waaay out so all songs are visible. | |
//Check with this | |
var total = 0; | |
[...document.querySelectorAll(".songlist-container tbody > tr.song-row")].forEach(obj => { | |
const a = obj.children[2]; | |
const duration = a.innerText; | |
const t = obj.children[6]; | |
if (!t) { |