refactor: increase home screen item limits
Resume: 6 -> 12 NextUp: 9 -> 24 Latest: 12 -> 16
This commit is contained in:
parent
add33658ee
commit
f49430d1f0
1 changed files with 3 additions and 3 deletions
|
@ -213,7 +213,7 @@ class JellyfinRepositoryImpl(
|
|||
val items = withContext(Dispatchers.IO) {
|
||||
jellyfinApi.itemsApi.getResumeItems(
|
||||
jellyfinApi.userId!!,
|
||||
limit = 6,
|
||||
limit = 12,
|
||||
includeItemTypes = listOf(BaseItemKind.MOVIE, BaseItemKind.EPISODE),
|
||||
).content.items.orEmpty()
|
||||
}
|
||||
|
@ -227,7 +227,7 @@ class JellyfinRepositoryImpl(
|
|||
jellyfinApi.userLibraryApi.getLatestMedia(
|
||||
jellyfinApi.userId!!,
|
||||
parentId = parentId,
|
||||
limit = 12,
|
||||
limit = 16,
|
||||
).content
|
||||
}
|
||||
return items.mapNotNull {
|
||||
|
@ -250,7 +250,7 @@ class JellyfinRepositoryImpl(
|
|||
withContext(Dispatchers.IO) {
|
||||
jellyfinApi.showsApi.getNextUp(
|
||||
jellyfinApi.userId!!,
|
||||
limit = 9,
|
||||
limit = 24,
|
||||
seriesId = seriesId?.toString(),
|
||||
).content.items
|
||||
.orEmpty()
|
||||
|
|
Loading…
Reference in a new issue