gelli icon indicating copy to clipboard operation
gelli copied to clipboard

[Feature] Add support for Android Auto

Open mjlabe opened this issue 4 years ago • 9 comments

A few changes are needed to the app's manifest so that Android Auto can discover and interact with the app's media browser service.

https://developer.android.com/training/cars/media/auto

I'm no Android expert, but I really want this. I will take on this issue.

mjlabe avatar Jun 10 '21 01:06 mjlabe

why not just use jellyfin android auto?

rightsaidfred99 avatar Jul 09 '21 04:07 rightsaidfred99

why not just use jellyfin android auto?

Because Jellyfin is missing some key features on Android Auto, like shuffling, viewing your favorites. As well as other features like caching, downloading music, etc.

And these things afaik aren't really high on their priority.

Amarel-LTD avatar Sep 26 '21 05:09 Amarel-LTD

Unfortunately, it's also not very high on my list since I don't own a device that supports Android Auto. I would be more inclined to add Chromecast support before I worked on Android Auto.

dkanada avatar Sep 26 '21 05:09 dkanada

Android Auto is pretty useless anyway.

I think an in car ui mode would be more useful and easier to implement.

Larger buttons, shuffle button etc...larger text

rightsaidfred99 avatar Sep 26 '21 07:09 rightsaidfred99

I agree with @rightsaidfred99 and I have a suggestion open for that here #198 However I wouldn't be opposed to future compatibility with Android Auto (and Chromecast) if it can be done in a way to keep the app completely FLOSS (at least for the F-Droid release)

seniorm0ment avatar Oct 01 '21 00:10 seniorm0ment

why not just use jellyfin android auto?

Because Jellyfin is missing some key features on Android Auto, like shuffling, viewing your favorites. As well as other features like caching, downloading music, etc.

And these things afaik aren't really high on their priority.

i would also be pleased to have android auto support! :)

spupuz avatar Jun 21 '22 09:06 spupuz

This is really simple to add, I have done it and it works fine on my car using a UConnect receiver (Jeep Gladiator)

Changes required are as follows:

Bump minSdk in build.gradle to 23

Add these lines to the AndroidManifest.xml <meta-data android:name="com.google.android.gms.car.application" android:resource="@xml/automotive_app_desc"/>

Add a file automotive_app_desc.xml to app/src/main/res/xml with the following contents <automotiveApp> <uses name="media"/> </automotiveApp>

Note that to run on production head units the app must be distributed through the play store or shared through the internal track via the Google Developer Console, so you can't just build and deploy with these changes and expect it to work.

I'd make a PR but my git app is giving me a weird error when I try only for this repo and I don't have time to figure it out.

MatthewMedic avatar Jul 16 '22 12:07 MatthewMedic

Please add it as a feature would be awesome 👍

spupuz avatar Sep 07 '22 17:09 spupuz

This is really simple to add, I have done it and it works fine on my car using a UConnect receiver (Jeep Gladiator)

Changes required are as follows:

Bump minSdk in build.gradle to 23

Add these lines to the AndroidManifest.xml <meta-data android:name="com.google.android.gms.car.application" android:resource="@xml/automotive_app_desc"/>

Add a file automotive_app_desc.xml to app/src/main/res/xml with the following contents <automotiveApp> <uses name="media"/> </automotiveApp>

Note that to run on production head units the app must be distributed through the play store or shared through the internal track via the Google Developer Console, so you can't just build and deploy with these changes and expect it to work.

I'd make a PR but my git app is giving me a weird error when I try only for this repo and I don't have time to figure it out.

You can use it on auto if you enable unknown sources for android auto in AA developer mode. I'll have to try this and see if it working.

woolmonkey avatar Jan 29 '23 15:01 woolmonkey