note the artist offset-paging ceiling

This commit is contained in:
austinried
2026-10-04 00:30:05 +00:00
parent 77c3959c48
commit 85d61d25d7
@@ -825,6 +825,8 @@ class QueueRepository(
QueueKind.Song -> emptyList()
}
// ponytail: artist songs span albums, so there is no single keyset to seek on; artist pages fall
// back to OFFSET. Add an artist keyset if artists routinely exceed a few thousand tracks.
private fun OrderKey.seekable(kind: QueueKind): Boolean =
when (kind) {
QueueKind.Playlist -> position != null