Partial Qobuz library refresh
-
Currently, it is possible to refresh the whole library of the user only.
This will take ages if the library has many artists on it. For example, refreshing my library will pull in a few hundred albums (or releases, some might be EPs, singles etc.) and 12 458 songs, which will take quite a long time.
Sometimes what the user actually needs, is adding one artists into the library, or perhaps refresh an artist's releases because a new release has been made (available in Qobuz).
I suggest a "refresh artists" in the context menu of an artist in the Qobuz library.
Not sure if this is possible or easy to do, or suggested before. My searches came up null (from this forum and github).
Cheers!
p.s. As a sidenote, it is nearly impossible to say if the refresh process has hung up (seems like the progress bar goes from 0 to 98% when just taking the artists metadata, while this part should actually go from 0 to 2% in terms of time taken); progress bars are notoriously difficult to implement so that they work roughly linearly, and I'm not actually sure what is going on, but assuming my hunch is correct (which it might not be) I'd suggest dividing process into artist, album and song metadata retrieval, and allocate the bar to these accordingly, say 1%, 1% and the rest (98%) to the last part, which also takes the majority of the time.
-
Hmm I'm not sure what I was seeing in the progress bar, most of what I've written above does not reflect at all how it behaves.
It has three separate phases, first looks for artists (0-100%), then for albums (0-100%). Both of these are very fast, the first one nearly instantenous. Finally, it tries to get the track metadata.
But getting the tracks is really, really slow, and with a previously populated database, it immediately goes to 99% and then seems to hang there indefinitely (I've waited for around 10 hours). I've tested the database integrity with sqlite3 (as suggested here), and since that didn't help (it just told "OK"), moved away the Strawberry database file and I'm currently testing, if the refresh ever completes. It is painfully slow, though.
It is possible I've never had a properly completed Qobuz part of the database.
-
@WildPenguin
What version of Strawberry is this with?