Skip to content

(Kinda) Android Auto support#447

Draft
Fiaxpico wants to merge 1 commit into
ssalggnikool:masterfrom
Fiaxpico:auto
Draft

(Kinda) Android Auto support#447
Fiaxpico wants to merge 1 commit into
ssalggnikool:masterfrom
Fiaxpico:auto

Conversation

@Fiaxpico

Copy link
Copy Markdown

So with this, the app shows up in android auto and can play music, controls all work. However, it cant see anything from the library, where it just says "No items", because AA relies on callbacks from MediaLibraryService (which is just a subclass of MediaSessionService so it shouldn't be that much of a issue to change and add?) to read the library items.

Also, the playback service permission also just blocks the app from being detected, so the simple fix was just to remove that line, tho i would guess there's probably a better way.

:3

(cherry picked from commit f98a9af)
@ssalggnikool
ssalggnikool marked this pull request as draft July 19, 2026 22:01
@ssalggnikool

ssalggnikool commented Jul 19, 2026

Copy link
Copy Markdown
Owner

it cant see anything from the library, where it just says "No items"

this would require a bit of work to fix as it needs MediaLibraryService like you said, if there is a way to disable the queue UI in android auto then I will merge this, and then later on we could add MediaLibraryService for the queue UI to work

edit: there is a way it seems, androidx/media#339, too lazy to read this, either you can do it or I can mess with it later

@Fiaxpico

Fiaxpico commented Jul 19, 2026

Copy link
Copy Markdown
Author

I think you understood it wrong, or i explained it wrong, but the queue works fine (jumping around in it too):
image
as does the whole player/now playing screen:

image

its just the home? screen of sorts that is empty, with playlists, artists, search etc:
image

i mean like the equivalent of this screen with all the tabs from spotify:
image

basically all that this means is that you just have to first play something from your phone (or resume, but from my experience it doesnt detect the paused song unless the app is opened on the phone), before you can control it from AA. And making the app behave as just a player (so that the library/home screen wouldnt even be there) doesnt seem to be possible as far as i searched

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants