Skip to content

[BUG] - Android Auto: Playback queue not correctly initialized when selecting a track in album or playlist #490

@MaFo-28

Description

@MaFo-28

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

  1. Connect the app to Android Auto.
  2. Open an album or a playlist.
  3. Select a track that is not the first one.
  4. Try to go to the previous track using the "previous" button.
  5. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions