From 85d61d25d7f3ed318963623924c843809b3ecfc9 Mon Sep 17 00:00:00 2001 From: austinried <4966622+austinried@users.noreply.github.com> Date: Tue, 29 Sep 2026 08:51:39 +0000 Subject: [PATCH] note the artist offset-paging ceiling --- app/src/main/kotlin/com/subtracks/data/repo/QueueRepository.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/kotlin/com/subtracks/data/repo/QueueRepository.kt b/app/src/main/kotlin/com/subtracks/data/repo/QueueRepository.kt index 21d69399..a7d04520 100644 --- a/app/src/main/kotlin/com/subtracks/data/repo/QueueRepository.kt +++ b/app/src/main/kotlin/com/subtracks/data/repo/QueueRepository.kt @@ -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