08-12-2024, 10:53 PM
The issue is being caused by a line of old code that was never updated to handle cue files using the super nice CUE support that @Nutul developed.
In fact when using Folder Path as the album key all cue files fail to display tracks because the wrong parent dir is being used to generate the hash for the album key. This causes filteredSongs to be empty and thus the code at line 858 blows up.
I think its that QA guy again ;-)
I'll fix for upcoming 9.0.7
In fact when using Folder Path as the album key all cue files fail to display tracks because the wrong parent dir is being used to generate the hash for the album key. This causes filteredSongs to be empty and thus the code at line 858 blows up.
Code:
file: "USB/VFAT64/Test_mixed/Jcucurull/APE/Wish you were here/WishYouWereHere.cue/track0001"
# Old code
var md5 = $.md5(obj.file.substring(0,obj.file.lastIndexOf('/')));
# Console demo
$.md5("USB/VFAT64/Test_mixed/Jcucurull/APE/Wish you were here/WishYouWereHere.cue");
e43d5ed42ee8df48e01911713ea701ad
# New code
var md5 = $.md5(getParentDirectory(obj.file));
# Console demo
$.md5("USB/VFAT64/Test_mixed/Jcucurull/APE/Wish you were here");
14507c9ac0b6a8198e06f12292e7235a
I think its that QA guy again ;-)
I'll fix for upcoming 9.0.7