Jump to content


  • Content Count

  • Joined

  • Last visited

About petebocken

  • Rank

Recent Profile Visitors

506 profile views
  1. Still working for me on 10.14.6 (with the supplemental update from 8/26).
  2. In some way yes. However, I keep all my code snippets in Notes, so simply searching and copying them to the clipboard would work very well.
  3. Would it be possible to copy the contents of the selected not to the clipboard?
  4. Even more fun. Added another keyword in the workflow to only download the audio from the YouTube video and then drop it in the "Automatically Add to iTunes" folder. /usr/local/bin/youtube-dl -f m4a --ffmpeg-location /usr/local/bin/ffmpeg -q -o "/Users/peter/Music/iTunes/iTunes Media/Automatically Add to iTunes/%(title)s.%(ext)s" "$url"; echo "Completed"; I could only get m4a working, the rest said the requested format not available. M4A works in iTunes just fine.
  5. YAHTZEE! IT WORKS! /usr/local/bin/youtube-dl -f bestvideo+bestaudio --ffmpeg-location /usr/local/bin/ffmpeg -q -o "/path-where-files-are-stored/%(title)s.%(ext)s" "$url"; echo "Completed";
  6. Ya, figured we were getting into the weeds. Thanks @deanishe
  7. Must be some permission issue. Since I am calling my own youtube-dl script, I would think it would be able to then find ffmpeg and execute.
  8. Well, considering that it works fine and expected from the command line directly, it is an issue with how Alfred talks to ffmpeg or rather how it doesn't at all it seems.
  9. Last piece is figuring out how to have it download the full quality (1080p or 4K). This works just fine when you run youtube-dl from the command line. It downloads the 4K video (if available) and the audio file and then ffmpeg muxes them together into one file. When you just use /usr/local/bin/youtube-dl -q -o "$uhome/Desktop/%(title)s.%(ext)s" "$url"; echo "Completed"; it downloads a single file with audio and video together but it seems to always choose 720p. If I use /usr/local/bin/youtube-dl -f bestvideo+bestaudio -q -o "$uhome/Desktop/%(title)s.%(ext)s" "$url"; echo "Completed"; It will download the 4K video and audio as separate files but never muxes them together. I also tried adding -f bestvideo+bestaudio --merge-output-format MP4
  10. Weird, swear I tried that before. Works now, thanks!
  11. Ya, not sure what to put in the path to find my local install of youtube-dl: ./youtube-dl -q -o "$uhome/Desktop/%(title)s.%(ext)s" "$url"; echo "Completed";
  12. The one installed on my system. I just now realized that the workflow has it's own version installed with it. I tried replacing the youtube-dl file in the workflow and that doesn't make a difference. I also tried editing the workflow script to point to mine at /usr/local/bin/youtube-dl and still no go. Although not sure I know the correct way to have it look outside of the workflow at the file system for that file besides just putting the full path to it.
  13. I'm having the same issue that @justcharlie was having with http://cloud.dferg.us/q4Gt I've updated to the latest youtube-dl and also Python 2.7.13. Just pops up the OS X notification saying it's done but no file. youtube-dl works fine when run manually.
  14. Thanks @deanishe removing worked. No idea why that empty directory was left in /Volumes.
  • Create New...