The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


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


Problem: Update library
#1
I currently have a "clean" library of 1310 albums and 17313 tracks on a 2Tb USB 3.0 HDD, and 13 albums on the SDCARD where Moode is installed.
I generated the library, the libcache_all.json file is about 9 Mb in size. There are no errors in the mpd logs. There is only an error in the java console -

Code:
playerlib.js:706
Uncaught ReferenceError: loadLibrary is not defined
at Object.success (playerlib.js:706:40)
at u (jquery-1.8.2.js:974:30)
at Object.fireWith [as resolveWith] (jquery-1.8.2.js:1082:7)
at N (jquery-1.8.2.js:7788:14)
at XMLHttpRequest.n (jquery-1.8.2.js:8500:8)

Then I add one album to the SDCARD and run "Update this folder", I see a message about the update and the spinner spins for a few seconds. After the spinner disappears, I see the LED on the HDD start blinking. In this case, the libcache_all.json file is reset and the variables take the values -

Code:
GLOBAL.libLoading;
true
GLOBAL.libRendered;
false

Accordingly, at this time I can no longer update the folder, I get a message that "Library update is already in progress."
This continues for 18-20 minutes.
After that, when the LED stops blinking, everything returns to normal, data appears in the libcache_all.json file, and I can update a separate folder again.
I tried several times, and the result is 100% the same
Apparently, the entire library is rebuilt, although only one album was added.
I don't know why this only occurs for individual users, maybe it is related to the location of the library or something else, but I want to figure it out.
It's just that under these same conditions on version 8.3.3, updating a separate folder is very fast, and does not entail rebuilding the entire library.
It's just not my entire library, and I think that when I hook it all up, the update time will increase even more.
Reply


Messages In This Thread
Update library - by alexarz - 06-24-2025, 12:16 PM
RE: Update library - by Tim Curtis - 06-24-2025, 12:23 PM
RE: Update library - by alexarz - 06-24-2025, 12:33 PM
RE: Update library - by alexarz - 06-26-2025, 09:14 AM
RE: Update library - by TheOldPresbyope - 06-26-2025, 04:54 PM
RE: Update library - by alexarz - 06-26-2025, 06:06 PM
RE: Update library - by TheOldPresbyope - 06-26-2025, 10:21 PM
RE: Update library - by alexarz - 06-27-2025, 06:04 AM
RE: Update library - by the_bertrum - 06-27-2025, 07:18 AM
RE: Update library - by alexarz - 06-27-2025, 10:42 AM
RE: Update library - by TheOldPresbyope - 06-27-2025, 03:19 PM
RE: Update library - by philrandal - 06-27-2025, 04:19 PM
RE: Update library - by philrandal - 06-27-2025, 04:53 PM
RE: Update library - by alexarz - 06-27-2025, 06:44 PM
RE: Update library - by TheOldPresbyope - 06-27-2025, 07:12 PM
RE: Update library - by alexarz - 06-28-2025, 01:07 PM
RE: Update library - by TheOldPresbyope - 06-28-2025, 04:12 PM
RE: Update library - by Tim Curtis - 06-28-2025, 10:17 PM
RE: Update library - by alexarz - 06-29-2025, 02:41 PM
RE: Update library - by Nutul - 06-27-2025, 09:19 PM

Forum Jump: