[PROBLEM] Library update - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: [PROBLEM] Library update (/showthread.php?tid=5951) Pages:
1
2
|
Library update - kurt1970 - 11-21-2023 Hi Tim, I've my music (~2200 albums) stored on an external drive with a SMB mount. When I add some new albums on the disk, and trigger the "Update Library" menu option, I've the following strange behavior: * The newly added albums do not show up in the Library - Album - Browse by Artist view * The newly added albums do not show up in the Library - Recently Added view * The counter in the Library - Tag view remains the same as before the update * Viia "Advanced Search" I can find, see the covers, and play the albums (!) * When looking at the number of thumnails generated, it also lists the new thumbnails of the new albums * A restart does not fix the problem * A page refresh does not fix the problem * Triggering a second time "Update Library" makes it work. This behavior is constant. Any thoughts? Tx, Kurt RE: Library update - the_bertrum - 11-21-2023 Do you stay on the library page until the scan completes and the page reloads? RE: Library update - kurt1970 - 11-21-2023 (11-21-2023, 05:48 PM)the_bertrum Wrote: Do you stay on the library page until the scan completes and the page reloads? I trigger the "Update Library" from the playing view and stay there. (https://frlklyng9buw.compat.objectstorage.eu-frankfurt-1.oraclecloud.com/os-bucket/Capture.JPG) So, I don't trigger it via the "Regenerate" option via the "Configuration Settings" option. (https://frlklyng9buw.compat.objectstorage.eu-frankfurt-1.oraclecloud.com/os-bucket/Capture2.JPG) Of course, a "Regenerate" fixes the issue as well, but I believeĀ an "Update" should do just the delta, and not start from scratch? RE: Library update - the_bertrum - 11-21-2023 Interesting, I don't think I've ever done an update while the system is playing. I wonder if that's part of the issue. I find that if I start the update while on the library screen, and wait for it to reload the library at the end, it works but if I navigate anywhere while it is going on then I sometimes don't see the complete library. I'll be rebuilding a few times while I'm testing, so I'll run some scenarios if I can. RE: Library update - kurt1970 - 11-21-2023 I indeed started the update while listening. File locking may possibly cause issues, but that does not explain why it works when I trigger the update for a second time (also when playing). Moreover, when looking up the album via "Advanced Search", Moode finds the albums after the first update, so they've to be in the database. Fact is that the album and recently added views, nor the tag view (and counters) are updated with the changes, even not after a reboot. RE: Library update - Tim Curtis - 11-21-2023 When the issue occurs again try clearing the Library tag cache. The option is on Menu, Configure, Library. You can also look at the moode log for information on the Library update including thumbnail generation. RE: Library update - kurt1970 - 11-21-2023 Ok. Will do. To be sure, where do I find the log you're referring to? In the settings, I switched on "Reduced logging". Will this still produce enough information? RE: Library update - kurt1970 - 11-21-2023 In the meantime I did a small test: * I removed the newly added albums * Triggered "update library" * Albums disappeared from the views * Added albums again * Triggered "update library" * Albums appeared on the views. So, behavior is less consistent as I thought.. RE: Library update - Nutul - 11-21-2023 (11-21-2023, 08:40 PM)kurt1970 Wrote: In the meantime I did a small test: It makes a difference if you are on the NowPlaying view, instead of in the Library view. The library gets reloaded, AFAICR, only if in the Library view. In my system, when adding a few albums, I get the spinner on the top-right corner for maybe 2 seconds, then after about 5 seconds I get the "Library loading" toast message; and everything is updated. I do not get the toast if I am on the NowPlaying view, though, but cannot say if the library got loaded in the background or not... Only thing I remember is that I have seen somewhere in the code that there is an IF statement checking the current VIEW when performing a library update; it could well be it. If it happens again, (in the same circumstances, bear in mind...) you can just ctrl-F5, and you'll see the library updated without needing to do an update twice... RE: Library update - fdealexa - 11-21-2023 Hi Kurt, hi everyone, I would like to ask a trivial and hopefully not offensive question: during the update do you wait until the progress spinner disappears? Best regards and thanks, Francesco |