Android Auto: browsable Home sections, full online search (artists/albums/playlists) and artist pages
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
Research direction
Start by reading MediaLibraryItemFactory.queueMediaItem() to see why Home sections are both playable and browsable, then MediaLibrarySearchController where SearchFilter.FILTER_SONG limits search. The existing ONLINE_PLAYLIST handling in MediaLibraryBrowseTreeResolver and the voice-search queue in resolveVoiceMediaItems are the patterns to reuse for artist/album pages and context playback. Done means tapping a Home section opens a browsable list with a Play all/Shuffle entry, search returns browsable artists/albums/playlists, and online artist/album pages open from search results.
Written by the indexing model from the issue text.
Description
Pre-submission Checklist
- I have searched existing issues to ensure this hasn't been requested before.
- This request covers a single, specific improvement.
- The issue title is concise and descriptive.
Category
✨ New Feature
Is your feature request related to a problem?
Using YumaPlayer in Android Auto (v1.2.0-RC.3), it works well for playing music I already prepared on the phone, but it's hard to choose or discover music directly in the car:
-
Home sections can't be browsed. Quick picks, Forgotten favorites, Keep listening, Suggested songs and Mixes & radios look like folders, but tapping them immediately starts playback. There's no way to see what a section contains and pick a song, except through the queue screen after playback has started. In MediaLibraryItemFactory, queueMediaItem() marks these items as both playable and browsable, and Android Auto chooses to play them.
-
Online search returns songs only. MediaLibrarySearchController searches YouTube with SearchFilter.FILTER_SONG, so searching an artist's name returns some of their songs, but never the artist, their albums or playlists. Artists, albums and playlists only appear if they are already in the local library.
-
No artist or album pages from YouTube. In the phone app I can open an artist and see top songs, albums and radio, but in Android Auto there's no equivalent. Tapping an online search result plays only that single song (then autoplay continues with similar songs, not necessarily by the same artist).
Proposed Solution
In order of priority:
-
Browsable Home sections: make Home sections browsable-only (or add a setting "Home sections: play immediately / show list"), so tapping opens the song list. A "Play all" / "Shuffle" entry at the top of each list would keep the current one-tap behavior available. The playlist browse code already does something similar with PLAYLIST_ACTION_SHUFFLE.
-
Full online search: also include artists, albums and playlists from YouTube Music in Android Auto search results (e.g. a few top results per type, or the "Top result" section), as browsable items.
-
Artist and album pages: when opening an online artist or album from search, show a browsable page with top songs, albums and an artist radio entry. Online playlists are already browsable in Android Auto (ONLINE_PLAYLIST path used by "Mixes & radios"), so a similar approach could be used for artists and albums.
-
Play a search result in context (optional): when tapping a song from online search, queue the other search results after it (like voice search already does with resolveVoiceMediaItems), instead of playing a single song.
Alternatives Considered
Preparing everything on the phone (likes, library, playlists) and then playing from Library sections in the car. It works, but it doesn't allow choosing new music while driving, which is the main advantage of the official YouTube Music Android Auto experience.
Reference Open-Source Implementation (Optional / Recommended)
Existing code paths in this repo that could be reused: ONLINE_PLAYLIST browsing in MediaLibraryBrowseTreeResolver, the voice search queue in resolveVoiceMediaItems, and the playlist shuffle action.
Visual Context & Attachments
No response
- Dominant language
- Kotlin
- Stars
- 681
- Forks
- 22
- Avg merge
- 11h 50m
- Merged PRs (30d)
- 11
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MuwMx/YumaPlayer
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
MuwMx/YumaPlayer#218 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
MuwMx/YumaPlayer#219 ·
Maintainers usually reply within 1 day
-
Search issueOpen
Difficulty 3/5 1-2 days Newbie friendliness 42/100
MuwMx/YumaPlayer#217 ·
Maintainers usually reply within 1 day
-
Yuma Wrapped?Open
Difficulty 5/5 Over a week Newbie friendliness 30/100
MuwMx/YumaPlayer#215 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 12/100
MuwMx/YumaPlayer#210 · 2 comments ·
Maintainers usually reply within 1 day
All issues in MuwMx/YumaPlayer
Similar issues
-
area:core bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ionic-team/capacitor-local-notifications#29 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
sky-map-team/stardroid#1422 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
PixelPlayerHQ/PixelPlayerOSS#320 ·
Maintainers usually reply within 1 day
-
AndroidLauncher logs multi-instance package names (R-PRIV-1)Possibly taken A pull request linked to this issue is open or already merged. Openandroid bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day