Auto-convert .mp4 from Downie to .mp3 in Permute an import into Apple Music

Hi folks. I’ve been finding myself downloading music videos on YouTube with Downie and then opening them in Permute in order to convert them to MP3s (these aren’t the kinds of things I can stream in Spotify or Apple Music – mostly bassists covering the bass lines to specific songs so I can practice later). I’m hoping to use Hazel to watch my downloads folder, then open the file in Permute, convert it to MP3, and finally load the song into the Music app.

Does anyone know of a way to have Hazel do the open > convert functionality, maybe with a script? I know both Permute and Downie offer scripting (https://software.charliemonroe.net/help/permute/automation.html), but I am pretty inexperienced when it comes to that and I’m not sure how to get started. Thanks in advance!

Alternative suggestion: use youtube-dl to download(/convert) to MP3:

youtube-dl --extract-audio --audio-format mp3 <URL>

Why not just set Downie to “Extract Audio Only” and have Hazel watch the Downie downloads folder?

1 Like

I didn’t realize I could do that. I combined that with a Hazel action to auto-import the MP3 into Apple Music. Thanks!

1 Like