finamp icon indicating copy to clipboard operation
finamp copied to clipboard

[Android Auto] Choosing an album in Android Auto adds the songs to queue in a random order

Open TransientTetra opened this issue 7 months ago • 3 comments

Type:

  • [x] Bug
  • [ ] Major Bug (makes the app unusable)
  • [ ] Other:

What version of Finamp are you using?

  • [x] Beta/Redesign: 0.9.16
  • [ ] Stable:

Affected Device/Platform

  • [ ] Android
  • [x] Android Auto
  • [ ] iOS
  • [ ] Linux
  • [ ] Windows
  • [ ] Mac

Description & Steps to Reproduce

When accessing Finamp in Android Auto there's no way to play an album in order. When clicking on the album Finamp adds all of the songs in it to the queue in random order. The random order seems to be the same on each attempt. A workaround is to open Finamp on the phone while connected to AA and play the album from there, this adds the songs to the queue in the expected order. A related issue happens when choosing the Artists tab in AA and clicking on any of the artists - their whole discography is added in a mixed order to the queue, there's no way to browse through the artist's albums. This makes the artists tab mostly useless on AA.

Logs

Further information

TransientTetra avatar May 21 '25 17:05 TransientTetra

There should be a way to disable this, by disabling "Shuffle" on the phone while a queue is active. If you then start something new, it should play in order.

With the next update the shuffle toggle will be shown in Android Auto again. Eventually we will add the ability to choose between shuffle and ordered play.

Chaphasilor avatar May 22 '25 06:05 Chaphasilor

How do you disable Shuffle? I never use it on my phone. If it's the two parallel arrows in the player that change to crisscrossing ones than I have tried that, no dice though.

TransientTetra avatar May 22 '25 06:05 TransientTetra

Oh okay, then I'll have to take another look at that.
If you don't mind, a short video showing the issue would be nice, helps to make sure I fix the right thing :)

Chaphasilor avatar May 22 '25 21:05 Chaphasilor

Hey, sorry for taking a long time; here's a video showing the bug https://youtube.com/shorts/2zXvT2FV0nI Note the scrambled order. When I open Finamp at that time it shows the same queue and indicates it isn't shuffled. Shuffling it changes the order to a new, random order, toggling it again goes back to the bugged random order. I've got screenshots of that but I dunno how to attach them, keeps failing.

TransientTetra avatar Jun 08 '25 19:06 TransientTetra

I've got an update after some additional testing/observation: this only happens when I'm not in offline mode, when I turn the offline mode on manually clicking an album works as expected and adds it's songs to the queue in the correct order; during this testing I also observed that the bugged order is not random but reversed, this however doesn't seem to always be the case as in the video I attached it is clearly random.

TransientTetra avatar Jul 07 '25 17:07 TransientTetra

I've been having the same experience! Albums play in an arbitrary order on Android Auto. It's not random, per se — it's the same order every time for a given album. But it's not alphabetical and it's not in track order

smoores-dev avatar Jul 18 '25 02:07 smoores-dev

@TransientTetra @smoores-dev got a question for you: does the "random" order change when you change the sort order in Finamp's album tab? i.e. sorting albums by recently added or alphabetically?
I think there might be a logic error here, where it tries to apply the sorting of the album tab to the tracks within the album on Android Auto...

Chaphasilor avatar Jul 29 '25 11:07 Chaphasilor

Ah, interesting. I will try this today and report back!

smoores-dev avatar Jul 29 '25 13:07 smoores-dev

@smoores-dev any results?

Chaphasilor avatar Jul 30 '25 07:07 Chaphasilor

Okay, I managed to confirm that this really is what's happening, and fixed it. With the next update albums and playlists should play in order again, unless shuffle is enabled within Finamp (with shuffle enabled it will still always start with the first track, but that's a different issue).

Chaphasilor avatar Jul 30 '25 08:07 Chaphasilor

That's great to hear; can't wait to try it out!

TransientTetra avatar Jul 30 '25 09:07 TransientTetra

Oh great — I did try it last night and changing the album sorry had no effect haha. Thanks for looking into this!

smoores-dev avatar Jul 30 '25 13:07 smoores-dev