TL;DR Put a blank song so the car stops starting up a song you don’t want.
There’s something about my car, or iOS, or the Bluetooth protocol that will automatically start the very first song of my whole Apple Music library. By first song I don’t mean “the first song of the first playlist”, I mean “the very first of ALL the available songs, sorted by song name and ignoring playlists or albums”. I couldn’t find a setting to disable this. It seems more related to the car’s system, because I’ve seen this behavior with non-CarPlay cars as well.
I happen to have children lullabies in my library and the first alphabetical song is called “À la Claire Fontaine”. Now I hate it with passion.
Occasionally iOS would resume the last Now Playing item (which would make sense) like Podcasts, but I have no control over when it resumes and when it defaults to Apple Music.
What I tried at first was to add an Automation “When CarPlay Connects” to simply pause music. But this isn’t enough because there’s a 10-ish seconds delay before the Automation triggers and pauses audio. The car really wants its song !
So here’s my solution: If the car so desperately wants a track to play, let’s give it one ! But here’s the trick: it “plays” nothing.
- Go to GitHub - anars/blank-audio: Set of blank MP3 audio files and download a long enough MP3 (I grabbed 1 hour).
- Add it to your Apple Music
- Rename it to a song that would make it very first song ordered by title. In my case, I had to name the song “À - CarPlay”, to beat “À la Claire Fontaine”.
- Sync to your phone. The mere presence of this title will make sure that you hear nothing until you decide it (or until the song runs out).
That should do it. No more unwanted songs !
If you want to go further, here’s a few tips, you should trial and error depending if you have many stops between drives or not:
- In Shortcut Automations, add “When CarPlay Connects” as first action: Pause on iPhone to prevent running to the second song of your phone.
- In Shortcut Automations, add “When CarPlay Disconnects” as first action: Play song: À - CarPlay followed by Pause on iPhone to force Now Playing to Apple Music
- Instead of a blank audio, put something else but that you enjoy. A friend of mine put the OG PlayStation intro as first song.