mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-11 07:29:14 +01:00
start the queue unshuffled from the play buttons
This commit is contained in:
@@ -39,6 +39,12 @@ class AlbumDetailViewModel(
|
||||
}
|
||||
}
|
||||
|
||||
fun playAll() {
|
||||
viewModelScope.launch {
|
||||
playbackController.playAlbumInOrder(sourceId.first(), albumId)
|
||||
}
|
||||
}
|
||||
|
||||
fun shuffle() {
|
||||
viewModelScope.launch {
|
||||
playbackController.shuffleAlbum(sourceId.first(), albumId)
|
||||
|
||||
Reference in New Issue
Block a user