mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-11 15:29:15 +01:00
note the artist offset-paging ceiling
This commit is contained in:
@@ -825,6 +825,8 @@ class QueueRepository(
|
|||||||
QueueKind.Song -> emptyList()
|
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 =
|
private fun OrderKey.seekable(kind: QueueKind): Boolean =
|
||||||
when (kind) {
|
when (kind) {
|
||||||
QueueKind.Playlist -> position != null
|
QueueKind.Playlist -> position != null
|
||||||
|
|||||||
Reference in New Issue
Block a user