Jump to content

kevnk

Member
  • Posts

    10
  • Joined

  • Last visited

Everything posted by kevnk

  1. If you often scale designs using the golden ratio, you are probably tired of copy/pasting from your calculator. Now, with the Golden Ratio Workflow, after selecting a number, a simple hotkey will paste that number multiplied or divided by 1.618, the golden ratio. cmd+opt+shift+G will multiply the number by 1.618 and paste the result. cmd+opt+G will divide by 1.618 and paste it. View it in action here: https://monosnap.com/direct/WY9O1oh71mMjGNfYL94kwazBxeHnoU Try it out for yourself here: http://www.kevnk.com/public/alfred/Golden-Ratio.alfredworkflow
  2. Seems useful, but maybe more time-consuming or complicated getting it all set up with proxies and waiting for conversions (as opposed to just streaming in the Spotify player). For example, Spotify offers a Daily Mix playlist or a Discover Weekly playlist that they generate for you. Those playlists will have some songs I like and some I don't. I don't want to waste time downloading songs I don't like AND not be able to easily give Spotify feedback on whether or not I like a particular artist or song. I'd much prefer to use Spotify's interface and mute the ads. But I guess that's a personal preference and depends on your use-case (e.g. You can't use this workflow for mobile devices, but if you convert all the songs and upload them to your phone, you could.) It doesn't really feel like TuneFab would be legal... but again, a personal preference to cross that line or not... Thanks for sharing your workflow! I appreciate your perspective.
  3. I've requested a feature to set custom character(s) as the appended item separator (and being able to quickly customize that setting through alfred). See below:
  4. I'm a developer and the copy merge feature comes in very handy. Although, often I need to paste it into my code editor and do some additional editing - like add commas between each or && or whatever. It would be nice to (ideally, through the alfred interface) quickly change the setting of what separates each appended item—even set/add custom character(s).
  5. I'm so glad I made this. I really don't like playing ads and this makes it so easy to mute ads from Spotify!
  6. Here's how it works: Open Spotify and start playing music Hit the hotkey to start Mutify workflow When it finds a track that's less than 35 seconds long (because that's likely an ad), it sets Spotify's volume to 0 (it is only muting Spotify and nothing else). When the ad is over, it resets Spotify's volume back to what it was NOTE: When you pause or quit Spotify, Mutify will also quit. Start Mutify again with your hotkey after playing Spotify again. You can download the Mutify workflow here: http://www.kevnk.com/public/alfred/Mutify.alfredworkflow Feel free to leave feedback here or email me at hello@kevnk.com Enjoy!
  7. Awesome! That was helpful. It took me a while to find the "new workflow trigger" you were talking about, but it's Triggers > External and as soon as you create the id, it gives you all the code you need. Thanks so much!
  8. I have a workflow that is listening for spotify ads (so i can mute them). I have a while loop listening. When it finds an ad (a track with < 35 second duration), it sends a notification - but not an alfred style post notification; just the default applescript-like notification. Here's the code: Note: osascript -e "display notification \"Muting ad for $sleepDuration seconds\" with title \"Mute Spotify Ads\"" This is what I'd like to replace with an alfred Post Notification. vol=`osascript -e 'tell application "Spotify" to sound volume as integer'`; while : do state=`osascript -e 'tell application "Spotify" to player state as string'`; sleepDuration=1 if [ $state = "playing" ]; then duration=`osascript -e 'tell application "Spotify" to duration of current track as string'`; duration=$(echo "$duration / 1000" | bc); if [ $duration -le 35 ]; then position=`osascript -e 'tell application "Spotify" to player position as string'`; position=$(echo "$position" | bc); sleepDuration=$(echo "$duration - $position" | bc); osascript -e "tell application \"Spotify\" to set sound volume to 1"; if [ $sleepDuration -le 0 ]; then sleepDuration=1; else osascript -e "display notification \"Muting ad for $sleepDuration seconds\" with title \"Mute Spotify Ads\"" sleep $sleepDuration; osascript -e "tell application \"Spotify\" to set sound volume to $vol"; sleepDuration=1; fi else osascript -e "tell application \"Spotify\" to set sound volume to $vol"; sleepDuration=1; fi sleep $sleepDuration; else break; fi done osascript -e "tell application \"Spotify\" to set sound volume to $vol";
×
×
  • Create New...