Skip to content

Commit

Permalink
[Fix] Skip next after playing an error song
Browse files Browse the repository at this point in the history
  • Loading branch information
z-huang committed Aug 9, 2024
1 parent 3e06c0b commit d6d136c
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,15 @@ class PlayerConnection(
service.toggleLibrary()
}

fun seekToNext(){
fun seekToNext() {
player.seekToNext()
player.prepare()
player.playWhenReady = true
}
fun seekToPrevious(){

fun seekToPrevious() {
player.seekToPrevious()
player.prepare()
player.playWhenReady = true
}

Expand Down

0 comments on commit d6d136c

Please sign in to comment.