doublesymmetry / KotlinAudio

KotlinAudio is an Android audio player written in Kotlin, making it simpler to work with audio playback from streams and files.
Apache License 2.0
44 stars 70 forks source link

chore(capabilities): Revamp System #86

Closed dcvz closed 1 year ago

dcvz commented 1 year ago

Moves away from describing notification buttons to specifying capabilities. This will allow us to better control and distinguish between capabilities that:

  1. should be used as media session actions
  2. should be included in the notification (and whether they are allowed in compact mode)
dcvz commented 1 year ago

@lovegaoshi this PR is still in progress but might affect your AA work. It might also make some things easier as I'm taking into account again the capabilities for PLAY_FROM_ID and PLAY_FROM_SEARCH which are used in AA.

lovegaoshi commented 1 year ago

should be just small tweaks for the AA setup; just have to enable RemotePlaySearch RemoteSkip RemotePlayId capabilities during setup.