-
Content Count
35 -
Joined
-
Last visited
About petebocken
-
Rank
Member
Recent Profile Visitors
622 profile views
-
petebocken started following Disable volume mount/unmount notifications?
-
Is it possible to disable the notifications when a volume is mounted/unmounted?
-
Thanks. Installing xcode command line tools fixed it.
-
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".
-
petebocken changed their profile photo
-
Updated and now nothing works. I'm on 10.15.2. 🤷♂️
-
Still working for me on 10.14.6 (with the supplemental update from 8/26).
-
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.
-
Would it be possible to copy the contents of the selected not to the clipboard?
-
Problem to start a Python script
petebocken replied to Efty.Edge's topic in Workflow Help & Questions
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. -
Problem to start a Python script
petebocken replied to Efty.Edge's topic in Workflow Help & Questions
Thanks so much @deanishe! -
Problem to start a Python script
petebocken replied to Efty.Edge's topic in Workflow Help & Questions
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"; -
Problem to start a Python script
petebocken replied to Efty.Edge's topic in Workflow Help & Questions
Ya, figured we were getting into the weeds. Thanks @deanishe -
Problem to start a Python script
petebocken replied to Efty.Edge's topic in Workflow Help & Questions
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. -
Problem to start a Python script
petebocken replied to Efty.Edge's topic in Workflow Help & Questions
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. -
Problem to start a Python script
petebocken replied to Efty.Edge's topic in Workflow Help & Questions
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"; e -
Problem to start a Python script
petebocken replied to Efty.Edge's topic in Workflow Help & Questions
Weird, swear I tried that before. Works now, thanks!