DJ Pedro

An Alfred Workflow

Short Description

Create an iTunes playlist based on's Similar Artist feature.

Last Updated

26 Nov 2017


Mountain Lion
Snow Leopard
Yes Yes Yes Yes Yes



Bundle ID





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.

Credits/Acknowledgments: - 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". This workflow uses a modified version that now works for Alfred 3. - DJ Pedro is named after our cat.

Notes: - 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.