Jump to content

JacobMiller

Member
  • Posts

    0
  • Joined

  • Last visited

Reputation Activity

  1. Like
    JacobMiller reacted to vitor in Download Media — Download video and audio from web pages   
    I disagree. If that’s the kind of thing you do so often that you want a workflow, that doing it that way is definitely slower.
    The method I’ve outlined takes longer to setup, granted, but you only have to do that once, and in the long run it’s way faster, if only because it’ll be a one step process with a single keyword, instead of a multiple step process where you have to type the keyword, wait for it to download (which varies from video to video), start another process to convert it, wait for that to finish, and delete the video. It’s a small tedious process multiple times, versus a big tedious process once.
    Perceived speed is often better than actual speed, psychologically (if only to us, users of software like Alfred). “Set it and forget it” is arguably the better option — that is why workflows are great.
  2. Like
    JacobMiller reacted to vitor in Download Media — Download video and audio from web pages   
    Here are the instructions on how to change this workflow to get the audio from videos, instead of (or in addition to) the video.

    I warn you that it may be a lengthy process (it’s not difficult, it just takes a while, specially if you do not have some things installed).

    youtube-dl uses ffmpeg to extract the audio, so you likely need to install it, but I cover that in the instructions.

    1. Open a terminal.
    2. Install homebrew (if you don’t have it). It might ask you to install XCode’s CLI tools.
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 3. Install ffmpeg (again, if you don’t have it) by running
    brew install ffmpeg 4. After it finishes, you can close the terminal.
    5. Open the workflow, and after that double-click the topmost “Run Script” node.
    6. At the top of the code that appears, paste this
    export PATH="/usr/local/bin:$PATH" 7. Now you’ll have to make a choice. Keep in mind that it’ll still download the video, but it’ll then extract the audio from it and delete the video (or not, that’s the choice).
    8. If you want to always download only the audio, change (a few lines under getfile() {)
    python youtube-dl --no-playlist --newline --output "${downdir}/%(title)s.%(ext)s" "${link}" > "${progressfile}" to 
    python youtube-dl --extract-audio --no-playlist --newline --output "${downdir}/%(title)s.%(ext)s" "${link}" > "${progressfile}" If you want to keep both the audio and video, change it to
    python youtube-dl --extract-audio --keep-video --no-playlist --newline --output "${downdir}/%(title)s.%(ext)s" "${link}" > "${progressfile}" 9. You can now save. You’re done.

    Steps 2 and 3 can take some time, particularly 3 since it will download and compile from source (ffmpeg can take some time).

    If you have any difficulty with any of the steps, please state what problems you’re having, and we can work from there.
  3. Like
    JacobMiller reacted to vitor in RecentlyAdded — List directory contents by added date   
    There you go. Added the two extra options for you.
  4. Like
    JacobMiller reacted to gcagora in A little baffled by Alfred Remote   
    I, too, had the same thoughts as I installed and began playing with AR.
     
    I agree with Deanishe...I view AR as a magic keypad. Here are some of the functions I'm using (and loving) on a regular basis:
     
    As a side note, I use multiple (7) "desktops" so I have MANY programs up and running all the time - each on their own desktop space.
     
    Controlling iTunes (somebody walks into my office, I can push pause or mute). I know this is on my keyboard, but it seems easier to find/quicker to press on AR.
     
    Jumping to certain websites (I have a few sites I visit multiple times per day. No matter which desktop I am currently using, I can jump right to the website with a quick and simple touch.
     
    Launching apps/files (In my workflow, my open apps take up pretty much all of my screen real estate, so I rarely look at my desktop. AR lets me quickly launch apps. I know I can do it from Alfred on the keyboard - and I still do sometimes - but sometimes it feels quicker to use AR...especially when I messing around with my phone or something)
     
    Putting my Mac to sleep (When I leave my desk, I like to put my Mac to sleep...but I usually forget until I'm already on the move. AR makes it simple)
     
    Opening Alfred Preferences (Since I am still in the "play" mode with AR, I am opening preferences quite often...much easier to do in AR then using my mouse and/or keyboard.
     
    I'll be the first to admit that I've never become a diehard keyboard power user....I think maybe that is part of the reason why I am enjoying AR so much.
  5. Like
    JacobMiller reacted to dfay in A little baffled by Alfred Remote   
    Another Remote use scenario I've been playing with is for multi-step music playing tasks.  This is probably better explained by example.  I have set up a remote trigger that runs a single applescript that:
     
    - turns on my Onkyo amplifier (via serial port connection to my Mac)
    - sets the input on the amp to the Apple TV (ditto)
    - sets the volume on the amp to an appropriate level
    -  adds the Apple TV to the active AirPlay devices on iTunes
    - shuffles my usual mix playlist
    - sets the computer volume to an appropriate level
    - sets iTunes volume to maxed (since the amp and computer volume settings were calibrated on this basis, & this lets me use Remote's iTunes controls to lower the volume or mute everything at once if needed)
    - starts playing the mix
     
    So I can hit one button on my phone as I head to the living room and have everything going when I enter the room.  No need to find the IR remote for the amp, fiddle with iTunes settings, etc.  Magical.
  6. Like
    JacobMiller reacted to Andrew in A little baffled by Alfred Remote   
    Whoa that sounds amazing!! Which Onkyo amp do you have?
  7. Like
    JacobMiller reacted to Kracke in A little baffled by Alfred Remote   
    This is the metaphor that best describes what I am using AR for. As a freelancer, I find myself having to "switch modes" a few times throughout the day. AR has given me a way to do that easily. Some examples:
    Good Morning, sir - Launches a handful of evernote notes that I use to plan my day, etc., as well as my email client and a browser window with a few of my "morning reading" tabs open. I can use Moom to then arrange those windows how I like them. I will use the "quit all apps" included with AR to shut this down when it is time to work.
    Client Workspaces - I am working on a few long term projects and have a button that opens the related folder in finder and then launches the appropriate software I am using on the project. (Ex 1 - Text Editor & FTP software for web project, plus an evernote note for that project(task list, etc.)  Ex 2  - HTML email conversion, opens folder of old emails, website of the new service, and the evernote note I use to track things that are done )
     
    Mute the World - This is just to serve my own insanity. I have a Sonos in my office, but will also occasionally listen to a podcast on my desktop while working. Or have a TED talk in a browser window, etc.  I have a script that basically cycles through all my outputs and mutes them all. Handy when my phone is ringing and I am snapped "out of the zone" ... I don't have to figure out what I need to mute.
    Call/Meeting - I can trigger this to open a new evernote note to take notes, open my calendar, and my current workload note. Very handy when I get a call in the middle of something. I can "shift gears" and be engaged in the call with the data I most likely need right in front of me. 
     
    Coffee Break - Opens tweetbot, my RSS reader, and a few social media accounts. "Quit all" after this one, too.
     
    I also have a button for my email client, slack, and my messages window, if only to pull those windows to the front quickly
    THE KEY FOR ME is that I have my phone and ipad in a dock charging on my desk during the work day. I've selected the feature that keeps the device on and unlocked while AR is open, so I have a little touchscreen controller that is always on a quick reach from my keyboard. I know I could trigger all/most of this right from the keyboard, but I use a paper planner to track my biggest tasks for the day and keep a work log (I want this to be digital, but paper is frictionless, so that is what I use). So my mental process is this:
    Complete a task -> Physical action: check off/log in planner to right of keyboard -> Decide what's next -> Physical action: select the workspace/mode on AR -> Start task
    Those gross motor actions (reaching away from the keyboard) are a HUGE boost for me in switching contexts/modes. It's a small thing, but it keeps me sane and my time sheets accurate. 
  8. Like
    JacobMiller reacted to arjunrc in A little baffled by Alfred Remote   
    Good to hear!
     
     
    Can't argue with that. Alfred and Plex - can't do without either. Proud power pack and sharper-image-remote user for Alfred and lifetime plex pass member here!
  9. Like
    JacobMiller reacted to dfay in A little baffled by Alfred Remote   
    I saw comments like this in a couple of the reviews as well.  Here are the kinds of scenarios I've been using (in the few days).
     
    1st is with dictation as I described in another post - you can open stuff on your Mac and interact with it quite well from a distance this way.  I'd been working with dictation on the Mac a bit over the past few months and Alfred Remote is a great complement to it for hands-free use.
     
    2nd is for "across the room" type tasks for which existing remote solutions don't exist or aren't adequate.  I wrote the Aperture Remote workflow to be able to triage photos (i.e. give a preliminary rating / flag for future editing / printing, keepers vs. trash, etc.) from a distance.  (On the other hand, I'm not going to give up using Keynote's built-in remote since that offers a lot of facilities, notably presenter notes, that can't be implemented in Alfred Remote as it stands).  Also "now playing" for apps (like Radium) which don't provide this facility in a large screen format.  I'm also working on a workflow to open Safari in full-screen (couldn't get Chrome's kiosk mode automated....may try Plainview instead, too) for use with Hootfeed.  And I want to write a remote for Skim's presentation mode, ideally one that would switch to Skim in presentation mode and turn on mirroring, then allow me to turn off mirroring and switch back to Keynote.  (I regularly teach in large lecture halls where I prefer to be able to leave the podium, so this is quite appealing).
     
    3rd is one I didn't expect but which I found myself using a lot.  I have limited desk real estate at work and end up with my laptop in front of my keyboard in front of my desktop.  I found using the desktop with the trackpad at my right hand and Alfred Remote at the left a lot easier than using the trackpad alone (i.e. for a lot of the same situations where I'd normally use Alfred at the keyboard rather than a mouse-based operation).  This a scenario where the desktop is primarily used for reading, listening, watching, and the real work is getting done on the laptop.
     
    --Derick
  10. Like
    JacobMiller reacted to arjunrc in A little baffled by Alfred Remote   
    Hi, I have been used Alfred on my mac for a few years. I've even written some workflows, one of which I've published (http://www.alfredforum.com/topic/2074-multiple-time-zone-calculator-workflow/)
     
    I just bought Alfred remote and installed it in iOS and I am a little baffled. What exactly do people use it for?
     
    As I understand:
     
    1. I can use it to launch any arbitrary workflow, page or command, but besides launching it I can't really do much with it
    2. If I want to interact with any application on my mac, I need to write a workflow for it that feeds it commands - correct?
    3. There is no way to get results back from a workflow I run back to my phone. For example, I would love to run my multi timezone calculator, feed it some free text time from my phone and get the results back on my phone - I assume this is not possible? (I added a remote trigger to my workflow and that resulted in it being launched on the mac)
     
    So my questions is:
    Given that this seems to be 1 way traffic from the device to the mac and there is no feedback mechanism, what are people using it for? (besides iTunes control and shutdown/sleep etc) - I am missing why I'd want to launch stuff on the mac but not be able to control them or interact with them afterwards with input from my phone (not pre-scripted workflows where inputs don't come from the phone, or simulating keypresses via applescript which are again pre-scripted)
     
    I love Alfred on my mac and use it all the time. I'd like to know if I am missing any capability on the remote 
     
    Thanks
  11. Like
    JacobMiller reacted to stephenmcleod in A little baffled by Alfred Remote   
    I've had similar thoughts, though I had the same thoughts about Alfred in general at first. I get the feeling that there's lots of powerful things that will come from Remote in future, and that it will take a while for them to come out - especially as features get refined/added.
     
    I need to spend some time really digging deep to see what I can use it for, but here's what I've been doing so far:
     
    * Locking my computer when I leave the keyboard to go to the bathroom/kitchen/whatever and forget to do so
    * iTunes control (as you mentioned)
    * Controlling VLC. This is awesome, as I use my laptop to plug in to a big screen to watch films on, and can't be bothered getting up to change the volume/full screen the app/turn subtitles on/off, or delay/speed up the audio to fix lip synching. I've created a workflow for this if other people are interested. One question this use brings up is using the remote on multiple computers (like my wife's). Could I activate the powerpack on two different laptops and connect the remote to them both? Or would I need to purchase two powerpacks? I'm sure the answer for this is pretty easy to find, but these are just the thoughts as they come to my head.
    * Spotify control. Writing an app to control Spotify as a jukebox like iTunes.
    * Photoshop control. I can never remember the shortcuts for stuff like Curves/Levels etc, so maybe having my phone as an extra input device with useful icons will help. Will see if it's actually useful or just a nice idea in time.
     
    Some sort of feedback loop in future versions would be great - with on screen displays for certain things. 
     
    Looking forward to seeing what people do with it!
  12. Like
    JacobMiller reacted to tresni in [Request] Integration with Plex Media Server/Center   
    Someone did a pretty major rewrite at one point see:
     
    https://github.com/laazyj/Alfred.Plex
     
    You should be able to download the Zip file from there, extract it, create a fake workflow in Alfred, right click -> Show in Finder, drag and drop extracted files there.  (I've tried renaming the zip to .alfredworkflow and that didn't work, this was the quickest way I could find.)
     
    Doesn't seem to work if you have Users configured on plex, keeps saying it can't find the plex server
  13. Like
    JacobMiller reacted to vitor in RecentlyAdded — List directory contents by added date   
    Yes, you can simply go to the workflow (via Alfred’s preferences), and change the keywords (you just have to double-click each Script Filter node and change the top line, to something that will not interfere with your other apps.
  14. Like
    JacobMiller reacted to vitor in RecentlyAdded — List directory contents by added date   
    This workflow is officially deprecated in favour of Thumbnail Navigation
     
    List the contents of directories, ordered by add or modified date. rda sorts from the most recently added and rdz does the reverse; rdn sorts from the most recently modified and rdo does the reverse.



    The list is auto-refreshed, making for a good way to track changes.

    To act on the selections, use the standard Alfred shortcuts. You can activate file actions, dive into directories, preview files, reveal in Finder, add to the file buffer…

    By default the Workflow searches in ~/Desktop and ~/Downloads. Change the value in the directories Workflow Environment Variable to use different paths, separated by commas.
  15. Like
    JacobMiller reacted to Vero in Alfred Remote with MacOS High Sierra 10.13 and IOS 11   
    Hi @mogilner Welcome to the forum! In High Sierra, the Screen Saver has simply moved to a new location, so if you update to Alfred 3.4.1, which is currently in pre-release, you'll see that Screen Saver now launches as expected
     
    If you're not familiar with pre-releases, launch Alfred to the Update tab, choose "Pre-releases" from the dropdown at the bottom of the panel, and grab 3.4.1. You can switch back to "updates" if you prefer not to get all pre-releases, as these are more frequent than regular updates.
     
    Also, a quick search on Google relating to "bug in libdispatch" shows quite a lot of results; It relates to Apple's Grand Central Dispatch, and I'm sure Apple will resolve this before the general release of High Sierra, but I've raised a ticket for it for Andrew to look into anyway.
     
    Cheers,
    Vero
  16. Like
    JacobMiller reacted to mogilner in Alfred Remote with MacOS High Sierra 10.13 and IOS 11   
    I know the Mac and IOS beta came out just a week ago. I have been experiencing some issues with the Alfred Remote. I am able to connect to the computer and see the remote icons. When I press for instance the prompt for turning on the screen saver, it does not work, nothing happens. Some of the Remote application functions work but a lot do not. Looking in the Console I see the following:
     
    Jun 15 23:06:00 TM-MB com.apple.xpc.launchd[1] (com.runningwithcrayons.Alfred-3.5344[5078]): Service did not exit 5 seconds after SIGTERM. Sending SIGKILL.
    Jun 15 23:06:13 TM-MB Alfred Preferences[5219]: DEPRECATED USE in libdispatch client: Changing the target of a source after it has been activated
    Jun 15 23:06:34 TM-MB Alfred 3[5368]: DEPRECATED USE in libdispatch client: Changing the target of a source after it has been activated
    Jun 15 23:06:41 TM-MB Alfred 3[5368]: BUG in libdispatch: 17A264c - 2505 - 0x14f8
     
  17. Like
    JacobMiller reacted to vitor in Workflow libraries and helpers   
    Libraries and Frameworks

    Python 3: Alfred-Workflow, by Adam Hitchcock
    Python 3: Ualfred, by @chaojie
    Dart: Alfred Workflow, by Klemen Tusar
    Go: go-alfred by Jason Cheatham
    PHP: Alfred Workflows PHP Helper by @joetannenbaum

    Other Utilities

    Add auto-updating to your Workflow: OneUpdater, by @vitor
    iTerm2 intergration: Custom Alfred iTerm Scripts, by @vitor
     

    All the libraries on this list are (at the time of the last edit) up-to-date and their developers are either still supporting them or forum regulars. That means any problems you find and suggestions you have are likely to be addressed.

    If there’s any library you think belongs in (or should be removed from) this list, leave a reply below. I’ll evaluate it and then hide the comments (so the thread can be kept tidy).
     
  18. Like
    JacobMiller reacted to tal in Plex Web application   
    Plex has an api that you can hit directly so should definitely be doable.
     
    But this forum is for sharing already created workflows. If you want osme more help try the other forum.
  19. Like
    JacobMiller reacted to gspot in Plex Web application   
    If any of you haven't tried Plex it's truly becoming the best media manager (and it's free other than one fabulous sync feature).
     
    I'd love to know if writing a workflow to control a web application can be done.
     
    http://www.plexapp.com
  20. Like
    JacobMiller reacted to deanishe in Filtering Script Filter results with arguments?   
    FWIW, if you're writing Script Filters, many workflow libraries, like Alphred (PHP) or Alfred-Workflow (Python), provide fairly clever functions for filtering queries, as well as a whole host of other features that are super-useful for writing Script Filters.
×
×
  • Create New...