spotube icon indicating copy to clipboard operation
spotube copied to clipboard

Play songs with Android Auto

Open Vidhyarth opened this issue 1 year ago • 4 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Pain

I want to play songs in wireless android auto using this app.

Suggested solution

I want to play songs in wireless android auto using this app.

Useful resources

No response

Additional information

No response

Self grab

  • [ ] I'm ready to work on this issue!

Vidhyarth avatar Feb 13 '24 15:02 Vidhyarth

This sounds like fun and according to this, not too complicated since spotube already uses audio_service. I'll look into it!

olivier2 avatar Feb 13 '24 22:02 olivier2

Hey @Vidhyarth , can you tell me more about what you tried and what happened?

I used the app with Google Desktop Head Unit (DHU) for testing Android Auto (AA) compatible apps. Here are the 3 scenarios I tested and the results (all of this while connected by cable, not wirelessly):

  1. Connect to AA, then launch Spotube from AA/DHU app screen : App stays stuck on splash screen
  2. Connect to AA, then launch Spotube from phone : App stays stuck on splash screen
  3. Launch Spotube from phone, then connect to AA : Works! I can play audio (see screenshot)

Can you confirm scenario 3 works for you using a cable?

android auto spotube

olivier2 avatar Feb 14 '24 00:02 olivier2

Hi,

For "Launch Spotube from phone, then connect to AA : Works! I can play audio (see screenshot)" yes, I am also able to play the songs. However, I cannot operate like I am unable to change the song to the next or previous song using AA.

Also, If I operate it from Mobile then it got stuck and I need to reopen the app and use it again.

Thanks and Regards, Vidhyarth Vora (091)9974599592

On Wed, Feb 14, 2024 at 6:00 AM olivier2 @.***> wrote:

Hey @Vidhyarth https://github.com/Vidhyarth , can you tell me more about what you tried and what happened?

I used the app with Google Desktop Head Unit (DHU) for testing Android Auto (AA) compatible apps. Here are the 3 scenarios I tested and the results (all of this while connected by cable, not wirelessly):

  1. Connect to AA, then launch Spotube from AA/DHU app screen : App stays stuck on splash screen
  2. Connect to AA, then launch Spotube from phone : App stays stuck on splash screen
  3. Launch Spotube from phone, then connect to AA : Works! I can play audio (see screenshot)

Can you confirm scenario 3 works for you using a cable?

android.auto.spotube.png (view on web) https://github.com/KRTirtho/spotube/assets/1408881/e5247df9-2d46-4852-8071-8e28e8182f6d

— Reply to this email directly, view it on GitHub https://github.com/KRTirtho/spotube/issues/1232#issuecomment-1942902627, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKG7VEMA3NRG4M3YDXL3TCDYTQARPAVCNFSM6AAAAABDGWGG5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBSHEYDENRSG4 . You are receiving this because you were mentioned.Message ID: @.***>

Vidhyarth avatar Feb 14 '24 06:02 Vidhyarth

Also, If I operate it from Mobile then it got stuck and I need to reopen the app and use it again.

I wanted to mention, I noticed this as well driving today. (Or, well, while still in the parking lot). Had to disconnect from AA, open Spotube and play a song, and then when I reconnected to AA had to also pause spotify--Spotube doesn't override other sources?) I was however able to switch between songs/play/pause from the AA display.

skruglov2023 avatar Feb 15 '24 05:02 skruglov2023

Duplicate of #623

KRTirtho avatar Feb 17 '24 16:02 KRTirtho

Also, If I operate it from Mobile then it got stuck and I need to reopen the app and use it again.

I wanted to mention, I noticed this as well driving today. (Or, well, while still in the parking lot). Had to disconnect from AA, open Spotube and play a song, and then when I reconnected to AA had to also pause spotify--Spotube doesn't override other sources?) I was however able to switch between songs/play/pause from the AA display.

This even doesn't work on my car. The icon is missing from AA, and I cannot add it. Android 14 with AA 11.1.640234-release

emskia-bgp avatar Feb 17 '24 22:02 emskia-bgp

@emskia-bgp @olivier2 same issue here i dont see the app on my AA car if i can help you AA 11.5.6641024-release latest spotube apk...

guegrer avatar Apr 14 '24 21:04 guegrer