06-01-2024, 02:52 PM
Here's what the section thats crashing in scripts-library.js does for a normally formatted encodedAt item which in this case is the var "tim".
If my analysis is correct then it looks like the server-side code is not able to determine either the format, rate or both for a particular file for example "24/96,h,2" or "FLAC,h,2" or ",h,2". These will all cause the JS line to crash.
Code:
tim = "FLAC 24/96,h,2";
'FLAC 24/96,h,2'
tom = tim.split(',');
(3) ['FLAC 24/96', 'h', '2']
bob = tom[0].split(' ')[1]; // This is the line that causes the crash by returning 'undefined'
'24/96'
If my analysis is correct then it looks like the server-side code is not able to determine either the format, rate or both for a particular file for example "24/96,h,2" or "FLAC,h,2" or ",h,2". These will all cause the JS line to crash.