Jump to content

petebocken

Member
  • Content Count

    30
  • Joined

  • Last visited

About petebocken

  • Rank
    Member

Recent Profile Visitors

434 profile views
  1. Would it be possible to copy the contents of the selected not to the clipboard?
  2. 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.
  3. 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";
  4. Ya, figured we were getting into the weeds. Thanks @deanishe
  5. 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.
  6. 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.
  7. 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
  8. Weird, swear I tried that before. Works now, thanks!
  9. 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";
  10. 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.
  11. 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.
  12. Thanks @deanishe removing worked. No idea why that empty directory was left in /Volumes.
  13. For quite some time now I have a USB drive showing up in the Eject list, but it is not currently plugged in. When i try to eject it, it says it's currently busy. How do I get this old hard drive removed from the list?
  14. Holding down control to "Open and Archive link" works great, but holding down option to "Archive link" removes it from alfred and displays a notification that it's archived, but does not archive the link in Pocket if I visit the website or my iOS app.
×
×
  • Create New...