Rello/audioplayer

[BUG] Clicking the "previous track" button on the first track breaks playback controls

Slackadays opened this issue · 0 comments

Describe the bug
When you click the "previous track" button while the first track is already selected, playback controls stop functioning until you select a different track.

To Reproduce
Steps to reproduce the behavior:

  1. Open an album
  2. Click on the first track
  3. Click the arrow that points left
  4. The play/pause and "next track" buttons don't work anymore

Expected behavior
The play/pause and "next track" buttons work as expected.

Screenshots

2024-01-04.13-59-39.mov

Versions:

  • Nextcloud: 24.0.12
  • Audioplayer 3.4.0

Note: Selecting the track in the list also doesn't work because this is an alias for play/pause.