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
#11
Looks like the "encodedAt" tag was empty or not present for at least one Album in the library tag cache. This would be a possible bug in the server-side getEncodedAt() function in inc/music-library.php since it should always return something.

To find out which album causes the JS crash place the console.log line below in /var/www/js/scripts-library.js right after the "for" statement on line 622.

for (var i = 0; i < filteredAlbums.length; i++) {
        console.log(filteredAlbums[i]);
        filteredAlbums[i].year ? tagViewYear = '(' + filteredAlbums[i].year.toString().slice(0, 4) + ')' : tagViewYear = '';

Then repro the issue, find the last entry in the JS log which should be the one causing the crash and click it to display all the items for that album. Post the list or a screenshot.
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, 01:06 PM

Forum Jump: