Create an iTunes playlist based on similar artists.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
DJ Pedro.alfredworkflow

DJ Pedro

Create iTunes playlist based on similar artists

This workflow uses the API for "similar artists" to create and play a playlist based on either the artist of the currently playing song or an artist searched for within the local iTunes Library.

The workflow is triggered by hotkey or the keyword "dj" and if an argument is added, the workflow searches your iTunes library for artists that match the query.

Settings for the workflow can be modified by triggering the "djprefs" script filter. Available modifications are:

  • Playlist name.
  • Playlist length.
  • Search limit for 'similar artists' the workflow requests from
  • Maximum tracks per artist added to the playlist.
  • Enable/disable the notification that lists any artists suggested by that were not found in your Library.


  • Much of the script for displaying artists and their artwork was borrowed from the great "Play Song" workflow, by "caleb531", which you should download if you don't have it yet.
  • Additional scripting was improved by using the qWorkflow library developed by "ursanrazvan".
  • DJ Pedro is named after our cat.


  • This workflow creates a folder in your iTunes folder called "Alfred Album Artwork" for easy access to album artwork icons. This folder should be extremely small and is easily deleted if you delete the workflow.