start a shuffled queue from the album and playlist shuffle buttons

This commit is contained in:
austinried
2026-10-04 00:29:55 +00:00
parent db58887567
commit a8f1b30d67
6 changed files with 116 additions and 2 deletions
@@ -38,4 +38,10 @@ class AlbumDetailViewModel(
playbackController.playAlbum(sourceId.first(), albumId, startIndex.toLong())
}
}
fun shuffle() {
viewModelScope.launch {
playbackController.shuffleAlbum(sourceId.first(), albumId)
}
}
}