mattttvaughn / chronicle

GNU General Public License v3.0
217 stars 60 forks source link

Feature Request: Android Auto support #3

Closed Oublic closed 2 years ago

Oublic commented 2 years ago

There is no interface for Chronicle appearing on Android Auto. This means I'm unable to use Android Auto to play/pause playback. I can use the phone to control playback and the audio comes through, but that defeats the purpose.

Running Android 12 latest beta on a Pixel 3. I've gone in to Customize on Android Auto to make sure that the app isn't simply hidden and that's not the case.

mattttvaughn commented 2 years ago

Auto support has to be added manually, it doesn't come baked-in with Android's media system, so I've tagged this as an enhancement. Editing the issue title to reflect it being a full feature request for Auto support.

But good news is most of the work is in place for Auto, just hidden behind a flag rn.

To enable Auto support for Chronicle:

Not planning to release until Android Media Controller test suite is passing consistently

And thanks for logging the first issue!

mrmorganmurphy commented 2 years ago

Was able to clone & build for the first time and enable the Auto changes. Happy to find Auto support enabled from the login screen.

One suggestion for the Auto interface is to add a playback-speed option as I change the playback speed when driving. Something like what Pocket Casts uses that is a tap to cycle through the playback speeds. image

mattttvaughn commented 2 years ago

Really glad to hear the build worked out of the box! Thanks for confirming @mrmorganmurphy

Playback speed action in Auto makes sense to me, can't think of anything better to slot in there. And if pocket casts implements it there's no reason we couldn't also. Could you create an issue for that @mrmorganmurphy?

9Mad-Max5 commented 2 years ago

Unfortunately I didn't get android auto to work. I really don't know if its caused by wireless android auto.

mattttvaughn commented 2 years ago

@9Mad-Max5 peeked at your commit on your fork and it looks good to me. Have you enabled developer mode within Auto itself?

9Mad-Max5 commented 2 years ago

Yeah I did as I understood it is just about pushin the build number 5 times in a row. In the developer settings itself there is nothing to do as I understood.

mattttvaughn commented 2 years ago

@9Mad-Max5 I believe you also have to allow unknown sources in the auto developer settings, have you done that? Just updated the instructions above to reflect that

9Mad-Max5 commented 2 years ago

Ah sorry my bad I missed that part.. So now it works great even with android auto wireless. I guess the idea in the future is to display the chapters in the play queue part of the interface?

ggrensteiner commented 2 years ago

Just wanted to report this is working in AA (devmode) on Android 12 as well. I also commented out the LeakCanary stuff since it seems like it's keeping itself in line and I just can't be bothered.