caleb531 / play-song

An Alfred workflow for quickly and easily playing music in the Apple Music app
MIT License
109 stars 9 forks source link

Add clearcache action #38

Closed caleb531 closed 8 years ago

caleb531 commented 8 years ago

A longtime Play Song user wrote to me recently asking how he could clear the workflow's album artwork cache. Of course, I told him how to delete the Play Song cache folder manually, but I have since decided it would be useful to have an easily-accessible clearcache action included in the workflow.

As you can see, I have added the AppleScript for this action. However, the workflow updater script will not allow me to add a new keyword and script filter to the workflow; the objects keep disappearing after I add them and run ./utilities/update-workflow.py. @Tyilo, could you please fix this and create a PR so I can merge in the feature and push a new release?

Thanks, Caleb