chore: Circumvent long loading times jellyfin 10.11.2

This commit is contained in:
PartyDonut 2025-11-07 09:36:20 +01:00
parent 0eaa4c1d1b
commit 58438afe88
2 changed files with 7 additions and 3 deletions

View file

@ -158,7 +158,6 @@ class LibraryScreen extends _$LibraryScreen {
final latest = await api.usersUserIdItemsLatestGet(
parentId: viewModel.id,
limit: 14,
isPlayed: false,
imageTypeLimit: 1,
includeItemTypes: viewModel.collectionType.itemKinds.map((e) => e.dtoKind).toList(),
);
@ -181,6 +180,7 @@ class LibraryScreen extends _$LibraryScreen {
parentId: viewModel.id,
isFavorite: true,
recursive: true,
limit: 14,
includeItemTypes: viewModel.collectionType.itemKinds.map((e) => e.dtoKind).toList(),
enableImageTypes: [ImageType.primary],
fields: [
@ -215,8 +215,7 @@ class LibraryScreen extends _$LibraryScreen {
final response = await api.itemsGet(
parentId: viewModel.id,
genreIds: [genre.id],
limit: 9,
recursive: true,
limit: 14,
includeItemTypes: viewModel.collectionType.itemKinds.map((e) => e.dtoKind).toList(),
enableImageTypes: [ImageType.primary],
fields: [