Skip to content

Commit

Permalink
Fix silly bug
Browse files Browse the repository at this point in the history
  • Loading branch information
fenimore committed Jul 17, 2017
1 parent 5468608 commit 8a114a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions alio.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,9 @@ func playAlbum(p *vlc.Player, a Album, l *tui.List, t *tui.Table, s *tui.StatusB
time.Sleep(50 * time.Millisecond)
}
}
if status == vlc.MediaEnded {
current = current.next
}
log.Printf("Playback end")
}
log.Println("End of playlist loop")
Expand Down

0 comments on commit 8a114a8

Please sign in to comment.