To use this, fill the "Playlists" List Filter with your Spotify playlist/track URIs. However if you want to go the extra step, you can add flags after the URI to tell Alfred how to play your playlist.
Examples
-
Play a playlist (simplest usage)
spotify:user:aliasless:playlist:7aA5Yhn8upFP2GHmbFLQyT
-
Play “perk_select” sound effect, pause for 2 seconds, then play a playlist
spotify:user:aliasless:playlist:6X89JJwvhcJIxDgPITrhl3 sfx:perk_select delay:2
-
Play “perk_select” sound effect, change lights to red (#e55039), pause for 2 seconds, then play a track at random from a playlist, but only once. And prompt me afterwards with the launcher to select another playlist.
spotify:user:aliasless:playlist:4nR6nDlHkdOvvCF2uqGq2D prompt delay:2 hue:#e55039 sfx:perk_select persist
Flags
Follow the Spotify URI with the flags below, separating each with a space. If the flag requires an argument, put a colon after the flag, followed by the argument (e.g. sfx:perk_select
).
- prompt – Make the launcher appear again after you've launched the playlist. Good for instances where you only want to play a short piece of music and then switch to something else.
- remind – If you're often forgetting to change music after a short scene, this flag will remind you after a minute with a large message saying “Remember to change the music!”
- once – If you're launching a track rather than a playlist, and only want to play it once, use this flag.
- persist – Use this flag to select a track at random from your playlist and play it outside of the playlist context. Warning: does not work with playlists containing local files. Overrides the once flag.
- hue (requires argument & Utilities workflow) – Tell Philips Hue lights to change to a certain colour. Accepts hex colour format (e.g. #E55039).
- sfx (requires argument) – Launch a sound effect before this playlist, for instance if you wanted the sound of a sword being drawn before launching your combat playlist. Place your sound effects in the Workflow folder (right click the Workflow and select “Open in Finder”) and select them here (file names must not have spaces).
- delay (requires argument) – Works in tandem with “sfx”. By default Alfred waits 1 second before launching the playlist, but if your sound effect is longer, you can extend this pause with this argument.
- utility (requires argument) – If you want to launch more than just music from your launcher, you can create an External Trigger with same argument as your utility flag to launch something else in your workflow. For advanced users.