mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 15:11:58 +01:00
note the artist offset-paging ceiling
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user