Jump to content

petebocken

Member
  • Content Count

    35
  • Joined

  • Last visited

About petebocken

  • Rank
    Member

Recent Profile Visitors

569 profile views
  1. Is it possible to disable the notifications when a volume is mounted/unmounted?
  2. Thanks. Installing xcode command line tools fixed it.
  3. Ah sorry. Never actually enabled debugging on a workflow before. Here you go. [08:03:39.469] ERROR: Search Notes[Script Filter] Code 1: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun Checked my disk and the only folder I have in CommandLineTools/usr is "share". No "bin".
  4. Updated and now nothing works. I'm on 10.15.2. 🤷‍♂️
  5. Still working for me on 10.14.6 (with the supplemental update from 8/26).
  6. 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.
  7. Would it be possible to copy the contents of the selected not to the clipboard?
  8. 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.
  9. 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";
  10. Ya, figured we were getting into the weeds. Thanks @deanishe
  11. 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.
  12. 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.
  13. 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
  14. Weird, swear I tried that before. Works now, thanks!
×
×
  • Create New...