OxygenCobalt / Auxio

A simple, rational music player for android
GNU General Public License v3.0
2.01k stars 132 forks source link

Albums/Artists Missing on Android Auto #855

Open HellsBells24 opened 2 weeks ago

HellsBells24 commented 2 weeks ago

Describe the Bug/Crash

When scrolling thorough music on device using Android Auto recently, I noticed that a large amount of albums and artists were not displayed on my car's head unit. For example, under Artists, "Rush" was nowhere to be found, and under albums, their self-titled debut was not either.

Describe the intended behavior

Android Auto should display the entire Auxio music library so that a driver does not have to pull out their phone to select the music they want to listen to while their focus should be on the road.

What android version do you use?

Android 14

What device model do you use?

Pixel 8, running GrapheneOS

Provide a sample file

N/A

Bug report

N/A

Duplicates

OxygenCobalt commented 2 weeks ago

I need photos of this @HellsBells24 since I've never seen this on my end. Can you provide them?

HellsBells24 commented 2 weeks ago

The first three photos are pictures of the car's head unit while the phone is plugged in. As you can see from the following three screenshots, in each instance the artists/albums are missing from what should be present.

IMG_20240825_193626_207 IMG_20240825_193649_669 IMG_20240825_193703_639 Screenshot_20240825-193428 Screenshot_20240825-193441 Screenshot_20240825-193905

OxygenCobalt commented 2 weeks ago

Yeah, this is weird @HellsBells24. I would think it might be a pagination problem, but this just flat out seems like it just failed to fetch half of the items and I can't tell why. Do other android auto-compatible players, like Vinyl, not have this issue?

HellsBells24 commented 2 weeks ago

Retro/Metro does not. Vinyl does but it seems to be intentional on their end, to prevent staring at the car's head unit for too long (which is weird because Android has built in safety pauses while scrolling)

HellsBells24 commented 2 weeks ago

Did not mean to close

OxygenCobalt commented 2 weeks ago

Retro/Metro does not. Vinyl does but it seems to be intentional on their end, to prevent staring at the car's head unit for too long (which is weird because Android has built in safety pauses while scrolling)

This is a little unclear @HellsBells24, can you provide photos for these cases so I can see what you mean? I'll look at Retro's impl to see where the discrepancy may be.

OxygenCobalt commented 2 weeks ago

My current guess @HellsBells24 is either:

HellsBells24 commented 2 weeks ago

When I get out of work I'll show you how it pops up on Vinyl and Retro.

pixel2user commented 2 weeks ago

My current guess @HellsBells24 is either:

  • My android auto implementation is wrong
  • Media3 (which my android auto implementation is based on) is doing something utterly unhinged again (I've been dealing with quite a lot of these issues)

858 sounds like this app won't use Media3 any longer. Should @HellsBells24 still run the tests?

OxygenCobalt commented 2 weeks ago

My current guess @HellsBells24 is either:

  • My android auto implementation is wrong
  • Media3 (which my android auto implementation is based on) is doing something utterly unhinged again (I've been dealing with quite a lot of these issues)

858 sounds like this app won't use Media3 any longer. Should @HellsBells24 still run the tests?

I just assume it's Media3 flipping out @pixel2user, it might also be my stupidity. I'm just tired of Media3 just...doing things and am going to get rid of it regardless of this issue. @HellsBells24 should run the tests.

HellsBells24 commented 2 weeks ago

He did - sorry for the delay...in addition to my Android Auto troubles, my tire has a puncture! Here's a photo of Retro running on my car head unit - as you can see, there appear to be no limitations on which albums/artists/etc I can select within my library IMG_20240826_152513_074 IMG_20240826_152528_227 What I'm seeing out of Auxio is closer to what I see out of Vinyl, though with Vinyl it appears to be intentional - artists cut off at "B," and I can only select albums by artists that fall within the A-B range - supposedly to prevent me from driving while distracted, although that rather defeats the purpose of AA. IMG_20240826_152623_880 IMG_20240826_152643_386

OxygenCobalt commented 2 weeks ago

Thanks for this @HellsBells24. I'm working on trashing Media3's session code anyway since it's just too frustrating to use, but after that I'll probably send over a test build to see if that mitigated the bug. If not, I'll try to dig deeper in how me and retro differ.