Artem_R34
You can use the nokill and tasks feature for the music app to play on startup.
They should be located in the following settings areas, but let me know if not and I’ll double check.
I also have Spotify to open up on startup
Nokill
Setttings | vehicle | Startup setttings
This may not be required, and may not be applicable if you you have the head unit to shutdown fully rather than sleep, it also depends on how the app works, Spotify for example saves the time and song currently playing when closed so not needed in the nokill for my purposes.
Nokill will prevent the app from closing fully when vehicle is turned off and in sleep mode, this should keep the last track and where it ended for when you turn the vehicle back on.
Select the YouTube music app in the nokill list
Tasks
Settings | Other | Tasks
With sleep mode enabled, tracks may continue to play (whilst no sound) until the head unit goes into deep sleep.
So I have set two tasks, one to pause music when vehicle is turned off and then to play music when vehicle it’s turned back on.
With the tasks, you click on the + icon and then go through the options to setup, depending on if you have sleep or full shutdown set, select the appropriate trigger, some are not compatible with sleep mode which is indicated on the trigger, I believe it’s ignition on and ignition off for sleep mode.
Next select what you want to happen, there’s an option to play, pause, skip etc
Then it’s trial and error with the timing for the play trigger as it depends on how long it takes for the music app to open, best way is to set it at 4 or 5 secs, turn off the car and back on to see if it works
Just go back to tasks, long press the saved one and hit edit to amend the timings.
I have a shortcut set on my iPhone so that my hotspot is activated when connected to power, this for me ensures I am connected to the internet on boot up too
Hope this helps