Jump to content

Apple Music search with Alfred


Recommended Posts

  • 2 months later...

Hey @gingerbeardman. The workflow is really great!


However, I have one problem: 


When I am searching for song/artists/albums the results in Alfred work great. If, however, I hit the first option "Search Apple Music for songs matching <some name>", Apple Music opens and displays a spinning wheel loading animation in the middle of the screen which never ends.




Link to post
  • 2 months later...
  • 2 weeks later...
  1. have Alfred with Powerpack
  2. install Workflow
  3. look at commands listed in Workflow (artist, album, song, etc)
  4. summon Alfred
  5. type command from earlier (artist, album, song, etc)


Note, this is an old workflow so requires one of the following folders to be present to work.

  • ~/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data
  • ~/Library/Application Support/Alfred 3/Workflow Data
Edited by gingerbeardman
Link to post
  • 2 months later...
  • 2 weeks later...

Stumbled over this post and ran into the same issues that other users have mentioned when running macOS Catalina 10.15.


After running the debug I saw a duplicate error showing a missing directory, so as an experiment, I ran the following in Terminal:


mkdir ~/Library/Caches/com.runningwithcrayons.Alfred-3/ && mkdir ~/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow\ Data/

This created the directory where the python script returns album thumbnails from the Album & Song search commands.


Additionally since Catalina replaces iTunes.app with Music.app, I went through the three python scripts and archived some of the URL scheme that Music doesn't seem to need. I bumped up the workflow version to 2.1 for tracking purposes.


Search Apple Music.alfredworkflow [Google Drive]


Thanks to all the creators who have put this together!


Pro-Tip: Update Line 19/20 in the artist, album, and song python scripts to your country code to improve search results with images.

Link to post
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...