BimmerGestalt / AAIdrive

Implementations of some Android Auto features as unofficial IDrive apps
MIT License
547 stars 90 forks source link

Unable to select a different song from a Spotify playlist that is playing #797

Open Wolfsbane1979 opened 3 months ago

Wolfsbane1979 commented 3 months ago

@hufman Hi there, you helped resolve the issue I logged earlier this week with the library not displaying playlists or albums in the car. Whilst the playlist and albums are now available to select there is another problem I am experiencing. If I load a playlist, i cannot select another track from that playlist via the car.. If I do, the first song starts again. This is the same with albums too. The only option i have is to select next.

BMW 520D (2018) OnePlus 12R, Android 14 Spotify version 8.9.52.552

hufman commented 3 months ago

Unfortunately, AAIdrive just sends the "skipToIndex" command to Spotify, and Spotify is very buggy about this. The "playing first track" behavior you describe is a known problem when skipping through Liked Songs and Artist playlists and podcasts, and there isn't any solution from AAIdrive's perspective.

Wolfsbane1979 commented 3 months ago

@hufman I've been using AAIdrive for over 2 years and this is the first time I'm experiencing this issue.

Is there anything that can be done as it's making Spotify useless via AAiDrive

Wolfsbane1979 commented 3 months ago

@hufman I did some further testing yesterday and found that the track select does work in the following situations.

  1. Albums - If i play an album, I can go to any track on the album that i want
  2. Playlist - If i have basic shuffle off or on, I can browse to any track on that playlist. If i have the new smart shuffle on (Spotify tries to match your listening style and randomly insert track it thinks you might like into your playlist) then i defaults back to the first track in the playlist if you try to select a track manually.

I hope that help offer a bit more insight.

hufman commented 3 months ago

Thank you for your investigation! Unfortunately, there isn't anything that AAIdrive can help with. If there was a way to detect if Spotify is in Smart Shuffle mode, it would be possible to disable the Select Track feature, but I'm not sure the Smart Shuffle option is even provided through the API.