• XDA Forums have been migrated to XenForo. We are aware of several issues including missing threads, logins not working, and more. To discuss, use this thread.
  • If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.

[APP][5.0+] Youtube Player for Android Auto - Pre app fieldwork

Emil Borconi

Recognized Developer
Feb 18, 2008
3,156
2,831
113
Tg. Secuiesc / Kezdivasarhely
Hi guys.

As I have mentioned it before I have started working on a YouTube Player for Android Auto, but since I'm not a big youtuber myself I will like to get some input from you guys on how this should app work.

My thought till now are:
1) When you are outside Android Auto, you will need to open the app, give permission to access your content and sync your playlists to the app.
2) When in Android Auto, the media player will contain entries for each PlayList and all the items of a playlist will be listed as subitems. This part will work as any other media app.
3) Video playback, this will be on the fifth tab, same menu structure, but it will also display video, of course only when the car is stopped, other than that video playback will be disabled.
4) Provide search for individual songs.

- Is there any other way you usually use Youtube beside created playlists, if yes please tell me so I can understand what should I build.

Sync before use - Why is it needed?
- To be able to use the YouTube API which gives me access to your playlist and content I need to create a developer API. The API is limited to 1.000.000 trade units per day, every query has it's own unit value (not necessarily 1) so if I don't sync the playlist and use a fetch as needed approach, I will risk to run out of trade units when the user base grows bigger.

Any comments suggestions are welcomed.
 

manos78

New member
Jan 17, 2014
808
302
0
Hi,

Why a YouTube player, and not any other type of player? Several opensource players with local support exists. Why not use some of these as a base?
 

Emil Borconi

Recognized Developer
Feb 18, 2008
3,156
2,831
113
Tg. Secuiesc / Kezdivasarhely
Hi,

Why a YouTube player, and not any other type of player? Several opensource players with local support exists. Why not use some of these as a base?
Local players do exist for audio, and it's easy to create an app for AA for them, but YouTube is more problematic, and yeah it's a bit against youtube policy because you shouldn't have sound without video, so officially that app will never be created (maybe with youtube red).

However this project did not receive too much attention so it's on a backburner at the moment, probably till end of November.
 
  • Like
Reactions: e3sssar

manos78

New member
Jan 17, 2014
808
302
0
Local players do exist for audio, and it's easy to create an app for AA for them, but YouTube is more problematic, and yeah it's a bit against youtube policy because you shouldn't have sound without video, so officially that app will never be created (maybe with youtube red).

However this project did not receive too much attention so it's on a backburner at the moment, probably till end of November.
Ahh, Ok! You think in audio only YouTube player.

I hope someone will start to develop a Xposed module that "rewrites" the MainActivity of any selected App and add AA support on-the-fly! This will be more similar to MirrorLink (not supported in a lot of devices).

Regards.
 

Emil Borconi

Recognized Developer
Feb 18, 2008
3,156
2,831
113
Tg. Secuiesc / Kezdivasarhely
Ahh, Ok! You think in audio only YouTube player.

I hope someone will start to develop a Xposed module that "rewrites" the MainActivity of any selected App and add AA support on-the-fly! This will be more similar to MirrorLink (not supported in a lot of devices).

Regards.
Audio only + video when the car is parked/not moving.
 
  • Like
Reactions: e3sssar and manos78

Kyonic

New member
Dec 10, 2017
1
0
0
Local players do exist for audio, and it's easy to create an app for AA for them, but YouTube is more problematic, and yeah it's a bit against youtube policy because you shouldn't have sound without video, so officially that app will never be created (maybe with youtube red).

However this project did not receive too much attention so it's on a backburner at the moment, probably till end of November.
Why isn't there any more attention for this?

Listen to Youtube playlists and watching video while parking would be a killer feature for AA.
 

martoreto

New member
Oct 24, 2017
60
109
0
Hi all here,

I am the author of what's called an unofficial Android Auto SDK, a piece of software
which allows creating custom Android Auto apps.

Because the poster of the previous message used this SDK, I believe it's
important that I quote my statement about video-in-motion AA apps from
the thread linked above also here. Please read below.

Regards,
martoreto


Dear all,

it is a good moment to say my final word specifically about the kind of apps
which allow playing videos on the head unit.

I think these don't need much comment:

It's ok to have a movie together on a great trip in middle of nowhere, when stopped.
It's not ok to watch a movie while driving. It doesn't need any comment.
It's totally ok for the passenger to watch a movie on his/her own device.
It's not ok for a passenger to watch a movie on a display in front of the driver.
It's ok to show off how a wonderful head unit I have which can play YT, but not while driving.
It's not ok to watch a movie while driving just to do a forbidden thing.

There's no "it's ok" scenario here for playing movies while in motion. Please share if you
know some. I'm pretty sure these are very uncommon or borderline ok.

Those "it's not ok" may be tempting. Because the driver may be bored, pissed off,
deny the danger of driving distracted, willing to show off, overestimate his/her skills,
name your reason.

Words displayed in the dash or written on a website or anywhere else would rarely
prevent it.

It's not that if movies are not possible in these cases, the driver will definitely do
something else stupid, like playing the video on the phone itself or become even more
angry and aggressive on road.

I want to say that clearly: I believe no apps should allow playing videos on the
car display while the car is in motion. Period.

I ask all here to not write such apps and not promote and talk about them here.

Instead of supporting those who create these apps just to satisfy popular demand of
doing a forbidden thing, please support those who actually care about creatively
and carefully designing the apps to be useful and which assertively, yet nicely
prevent being used in a stupid way.

Regards,
martoreto
 
Our Apps
Get our official app! (coming soon)
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone