updates
This commit is contained in:
parent
981b4836f9
commit
ed910748cb
34 changed files with 2054 additions and 153 deletions
|
|
@ -45,7 +45,7 @@ class LibraryIndexState {
|
|||
}
|
||||
|
||||
/// Builds and caches a flat "all songs" index — Subsonic has no all-songs
|
||||
/// endpoint, so we crawl every album (mirrors Ratune's `library_index` /
|
||||
/// endpoint, so we crawl every album (mirrors Timbre's `library_index` /
|
||||
/// `fetch_all_library_songs`). The cache is keyed to the server so switching
|
||||
/// servers never serves a stale catalog, and writes are atomic so an
|
||||
/// interrupted crawl can't leave a truncated file.
|
||||
|
|
@ -54,7 +54,7 @@ class LibraryIndexController extends StateNotifier<LibraryIndexState> {
|
|||
|
||||
final SubsonicClient? Function() _clientGetter;
|
||||
|
||||
static const int _albumParallelism = 12; // Ratune's album_parallelism.
|
||||
static const int _albumParallelism = 12; // Timbre's album_parallelism.
|
||||
static const int _pageSize = 500; // Subsonic getAlbumList2 cap.
|
||||
static const Duration _ttl = Duration(hours: 24);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue