Posts: 179
Threads: 8
Joined: Sep 2023
Reputation:
0
11-21-2023, 05:44 PM
(This post was last modified: 11-21-2023, 05:48 PM by kurt1970.)
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
Posts: 1,869
Threads: 43
Joined: Mar 2020
Reputation:
85
Do you stay on the library page until the scan completes and the page reloads?
----------------
Robert
Posts: 179
Threads: 8
Joined: Sep 2023
Reputation:
0
11-21-2023, 05:59 PM
(This post was last modified: 11-21-2023, 06:09 PM by kurt1970.)
(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.objectstorag...apture.JPG)
So, I don't trigger it via the "Regenerate" option via the "Configuration Settings" option. ( https://frlklyng9buw.compat.objectstorag...pture2.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?
Posts: 1,869
Threads: 43
Joined: Mar 2020
Reputation:
85
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.
----------------
Robert
Posts: 179
Threads: 8
Joined: Sep 2023
Reputation:
0
11-21-2023, 07:21 PM
(This post was last modified: 11-21-2023, 07:22 PM by kurt1970.)
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.
Posts: 13,420
Threads: 304
Joined: Mar 2018
Reputation:
545
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.
Posts: 179
Threads: 8
Joined: Sep 2023
Reputation:
0
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?
Posts: 179
Threads: 8
Joined: Sep 2023
Reputation:
0
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..
Posts: 1,279
Threads: 24
Joined: Jun 2022
Reputation:
42
(11-21-2023, 08:40 PM)kurt1970 Wrote: 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..
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...
Posts: 567
Threads: 5
Joined: Mar 2020
Reputation:
31
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
|