Thanks for the response! I tried your approach and ran into some problems.
First I tried with "Create playlist". I don't see how I can get this to work. When I add this action to the shortcut I enter a name of the desired playlist and then it says "with Music" and "Music" is greyed out. There I can choose between clipboard, current app, current date, device details and shortcut input. My idea was to use shortcut input, so I should first collect the playlists and then I can use this as input here. However, that shortcut input lets me pick media, but not playlists. And I don't see how to select media. I had a dead end here.
Second I tried a different approach based on your idea.
- I created a playlist in Apple Music called "Temp".
- In shortcuts I started by collecting songs and adding those to the existing playlist:
- Get songs in "Fav Metal tracks"
- Add Playlist to "Temp"
- Get songs in "Fav Progmetal tracks"
- Add Playlist to "Temp"
- Get songs in "Fav Rock tracks"
- Add Playlist to "Temp"
- Play "Updated Playlist" (in options I selected shuffle songs)
This worked fine. It started playing all the songs on those three playlists in shuffle mode.
But I've got a few problems with this:
- If I want to choose other playlists next time, I have to go into edit-mode in shortcuts and change the selected playlists. Would be much nicer if running the shortcut from my homescreen would give me a list of playlists to pick from.
- If I want to select more than three or less than three playlists, I have to edit the shortcut by adding or removing actions to get more or less songs.
- But the biggest problem. If I run it again, it adds the songs to the existing playlist which already has a bunch of songs on it from last time. So first the shortcut has to clear the playlist. I don't see an action to do that. There isn't even an option in Apple Music to completely clear your playlist without removing it (removing and re-adding will result in breaking the shortcut, I tested that). From your comment I expect that your approach using "create playlist" would be able to solve this, but I'm not sure how to do that.