maxrave-dev / maxrave-dev/SimpMusic
Media panel
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 11.4k
- Forks
- 599
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 7
Description
Problem Description
Hi,
I noticed that SimpMusic does not appear in the compact system media controls (quick settings / media panel) on Samsung OneUI, while apps like Spotify do. It only shows up as a regular notification in the expanded view.
Is this because SimpMusic does not fully implement Android MediaSession / MediaStyle notifications?
Are there any plans to support a fully compliant MediaSession (including proper playback state, session activation, and MediaStyle notification with session token) so the app can appear in the system’s quick media controls?
Thanks.
Proposed Solution
Implement a fully compliant Android MediaSession and MediaStyle notification:
- Use MediaSession (or MediaSessionCompat) and keep it active during playback
- Properly update playback state (play, pause, seek, buffering)
- Attach the session token to a MediaStyle notification
- Request and manage audio focus correctly
- Ensure the notification is marked as a media playback notification
This should allow the app to appear in the system’s compact media controls (Quick Settings / media panel), especially on Samsung OneUI.
Alternative Solutions
/
Additional Context
No response
Contributor 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.
Research direction
Start by inspecting the Android playback notification and MediaSession integration, then compare the current behavior with the MediaSession and MediaStyle requirements described in the issue. Done means the session stays active during playback, playback state and audio focus are handled, the notification carries the session token, and the app appears in Samsung OneUI compact media controls.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100