Skip to content

Add "Play album from here" as default click option#600

Draft
seadowg wants to merge 5 commits into
music-assistant:devfrom
seadowg:play-from-here-option
Draft

Add "Play album from here" as default click option#600
seadowg wants to merge 5 commits into
music-assistant:devfrom
seadowg:play-from-here-option

Conversation

@seadowg

@seadowg seadowg commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Work towards #535

This adds the album default option and also reworks how the action icon/title is determined so that it uses ClickContext instead of needing to pass the parent Album/Playlist around.

@seadowg

seadowg commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator Author

@formatBCE this is currently failing because adding a new DefaultClickAction means handling it in the Auto/Carplay parts of the app. I don't have a car with Android Auto (or any car for that matter), but I'm assuming I try out the UI that AutoLibrary deals with in an emulator?

@formatBCE

Copy link
Copy Markdown
Collaborator

You can use Android DHU emulator for Auto.

@seadowg seadowg marked this pull request as ready for review June 12, 2026 14:56
@seadowg seadowg marked this pull request as draft June 12, 2026 14:56
@seadowg

seadowg commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator Author

@formatBCE do you have a set of steps for actually getting to the library UI displayed using AutoLibrary? I've never used the Auto interface in my life so it's all a bit strange. Maybe I'm misinterpreting things and it only gets used for voice?

@formatBCE

formatBCE commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

@formatBCE do you have a set of steps for actually getting to the library UI displayed using AutoLibrary? I've never used the Auto interface in my life so it's all a bit strange. Maybe I'm misinterpreting things and it only gets used for voice?

Nah, not just voice! :)
To test it without the car, you need to install Headless Unit (it's program that emulates Android Auto). Then you just launch it, connect your phone to computer via USB - and it shows you Auto interface emulated via Headless Unit (DHU).

Installation happening through Android SDK manager. Then you do something like
/Users/{your_user}/Library/Android/sdk/extras/google/auto/desktop-head-unit --usb

Also check https://github.com/music-assistant/mobile-app/blob/dev/docs/ANDROID-AUTO.md#1-enabling-android-auto-for-sideloaded-builds on how to work with debug builds.

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