-
-
Notifications
You must be signed in to change notification settings - Fork 76
[BUG] - Android Auto: Selecting a track from an album reloads a previously played playlist instead of the album queue #500
Description
Describe the bug
When playing a track "MySong" from a playlist in Android Auto, the playlist is correctly loaded into the playback queue. However, if the user later opens the album containing that same track "MySong" and selects it, the queue does not update to the album. Instead, the previously loaded playlist is restored as the active queue.
This behavior is not limited to the immediately previous action. Even if the user plays another album in between (which correctly loads that album into the queue), selecting the track "MySong" from its album again will still restore the original playlist queue.
As a result, the playback queue source becomes incorrectly tied to the earlier playlist instead of reflecting the context from which the track is currently selected.
This issue is particularly noticeable on a freshly installed application.
Expected behavior
When selecting a track from an album, the album should be loaded into the playback queue, regardless of what source was previously used (playlist, album, etc.).
The queue should always reflect the context from which the track was selected.
To Reproduce
- Open a playlist in Android Auto.
- Select the track "MySong".
- The track starts playing and the playlist is loaded into the queue.
- Open the album containing "MySong".
- Select "MySong".
- Observe that the playlist is loaded instead of the album.
Additional observation:
- Play "MySong" from a playlist.
- Play a track from a different album (the album is correctly loaded in the queue).
- Go back to the album containing "MySong".
- Select "MySong".
- The playlist is loaded again instead of the album.
The issue is also reproducible with other combinations:
Album → Playlist
Playlist → Playlist
Environment
App version: 4.12.6 (but present before)
Additional context
This issue is independent of issue #490 and PR #497.
Those changes only helped reveal the behavior but are not the cause of the bug.
This bug is not limited to Android Auto; there's a strange, more subtle behavior in the app, but I haven't been able to figure out what's going on.