Shortcuts: Add all songs from 3 Playlists into 1 Playlist?

Julien

macrumors G4
Original poster
Jun 30, 2007
11,267
4,217
Atlanta
Trying to run a Siri Shortcut that would take several Playlists and combine all tracks into 1 Playlist.

Here is my example in pic: When I run the Shortcut I only get the tracks in the tracks from the Playlist The New Rock (only the last Playlist in the Shortcut). The preceding Breaking Rock & A-List: Alternative Playlists tracks are MIA in the newly created Playlist Master Rock. In the example there are 50 tracks in each Playlist so the Master Rock Playlist SHOULD contain 150 tracks but it is only has the 50 from New Rock (last added Playlist). Also I get this weird error??? message when I run the Shortcut (even though all Playlist and tracks are downloaded onto my iPhone).

Same behavior if I run it on my iPad.

So what I want is how to ADD all tracks from several Playlists into a single Playlist?

IMG_5788.jpg



IMG_5789.jpg
 
Last edited:

rorschach

macrumors 68020
Jul 27, 2003
2,073
653
The problem is that the first two playlists aren’t connected to anything. No action is taken with them.

Try this:

Get Playlist #1 > Set Variable “Songs”
Get Playlist #2 > Add to Variable “Songs”
Get Playlist #3 > Add to Variable “Songs”
Create Playlist
 
  • Like
Reactions: Julien

Julien

macrumors G4
Original poster
Jun 30, 2007
11,267
4,217
Atlanta
The problem is that the first two playlists aren’t connected to anything. No action is taken with them.

Try this:

Get Playlist #1 > Set Variable “Songs”
Get Playlist #2 > Add to Variable “Songs”
Get Playlist #3 > Add to Variable “Songs”
Create Playlist
That did it. Thank you so much. Seems like a Shortcut that should be popular. Pet Peeve: Apple, most services and just about everyone incorrectly (at least sometimes) calls music tracks "songs".

IMG_5825.jpg
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.