Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Moode 9, new webui's tag view album list and album is blank
#16
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".

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.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
RE: Moode 9, new webui's tag view album list and album is blank - by Tim Curtis - 06-01-2024, 02:52 PM

Forum Jump: