Describe the bug
If the user selects a track that is not the first one, the tracks that appear before the selected track are not included in the queue. As a result, it is not possible to navigate back to previous tracks using the "previous" button.
This also affects shuffle mode. When shuffle is enabled and a track is selected, the player only shuffles between the selected track and the following tracks instead of the entire album or playlist.
This issue only occurs when using Android Auto. Playback behaves correctly when using the app directly.
Expected behavior
Selecting a track in an album or playlist should initialize the playback queue with all tracks from that container, starting playback from the selected track.
The user should be able to navigate to previous tracks, and shuffle mode should include the entire album or playlist.
To Reproduce
- Connect the app to Android Auto.
- Open an album or a playlist.
- Select a track that is not the first one.
- Try to go to the previous track using the "previous" button.
- Observe that previous tracks are not accessible.
Environment
- App version: 4.12.6 (but present before)
Additional context
The issue appears to be related to how the playback queue is initialized when a media item is selected from Android Auto.
Describe the bug
If the user selects a track that is not the first one, the tracks that appear before the selected track are not included in the queue. As a result, it is not possible to navigate back to previous tracks using the "previous" button.
This also affects shuffle mode. When shuffle is enabled and a track is selected, the player only shuffles between the selected track and the following tracks instead of the entire album or playlist.
This issue only occurs when using Android Auto. Playback behaves correctly when using the app directly.
Expected behavior
Selecting a track in an album or playlist should initialize the playback queue with all tracks from that container, starting playback from the selected track.
The user should be able to navigate to previous tracks, and shuffle mode should include the entire album or playlist.
To Reproduce
Environment
Additional context
The issue appears to be related to how the playback queue is initialized when a media item is selected from Android Auto.