Jump to content

shadylane

Member
  • Posts

    47
  • Joined

  • Last visited

Everything posted by shadylane

  1. Hey guys, did you ever happen to find a workflow that offers this feature? Searching for a track in Alfred and adding it to "Play Next" would be fantastic...
  2. Wow. I had no idea... this is so much cleaner and better!!!! Why did I think I needed to use NSAppleScript? Was that maybe the case back in the beginning, when workflows got introduced initially (with Alfred 2 I think)? I never even questioned that, I always assumed the correct way to deal with "stuff" coming from the first node was to use NSAppleScript... God damn it. Now I want to immediately start to clean up all my workflows ;D One last question if I may (sorry to keep you occupied) : what would be a "very good reason" to use NSAppleScript?
  3. Hmmm, this actually does make sense. Now I look at all my cobbled-together workflows and wonder how much easier and more efficiently I could have achieved these things not always relying on Applescript... I always use the selection-hotkey and then text item delimiters to spit up the filepaths - but that does look incredibly complicated now in comparison... Oh well. Lots to learn Thanks again!
  4. @vitor Thank you, seriously, I really appreciate it that you are taking the time to (try to) explain this stuff to the least logical thinker you will ever meet. I had to turn the music off in the background to use all my brain power to read your answer I'll admit that bash scripts are pretty much gibberish to me, I lack the basic understanding... I had no idea what the difference between "input as {query}" and "input as argv" is - or the difference between single and double quotes - I just throw stuff at the wall and see what sticks, basically. You did clear up some things for me though and I will save your advice for future reference! @deanishe ha, it's comforting that I'm not the only one scratching my head about Applescript. The sad part though: it's the only language that makes even the tiniest bit of sense to me because it's so much like english Yeah, the workflow should work with multiple files actually - thanks for adding that! Again, I very much appreciate the help guys. This forum has always been a place where you could ask stupid questions and folks were willing to help. Maybe an app like Alfred, that's made with so much dedication, draws a certain crowd
  5. I'll be damned... THANK YOU!!!! Seriously, stuff like that is driving me insane - I do my best to find answers to problems like these myself online, but it's like pulling teeth for me. Next time I visit Essen I'll buy you an actual beer Cheers from Austria and thanks again, Anna
  6. Hi everybody! OK, I am desperate - I've spent the last two days trying to cobble together a tagging workflow and I am totally stuck... I would be extremely thankful if some of you Alfred-specialists around here could take a look at my issue. I kind of know my way around Applescript but everything else is a total mystery to me. So here it is: The Workflow uses "tag" (https://github.com/jdberry/tag/ - installed via homebrew, if that matters) to assign my custom tags to files selected in Finder. The workflow should work with a hotkey - be it via a "selection in macOS"-hotkey or by telling Finder to get the selection. It should work with multiple files. The tags will be specified inside the script (I will duplicate the script for the handful of tags that I use daily). Edit: nevermind, the bash script works now for some reason... I will never understand this stuff. I give up on the Applescript Cheers, Anna on alfred_script(q) set tagName to "paid" set text item delimiters to tab set filePaths to text items of q set text item delimiters to "" repeat with thisPath in filePaths set theFilePath to POSIX path of (thisPath as text) do shell script "/usr/local/bin/tag --add " & tagName & " " & theFilePath end repeat end alfred_script query="{query}" /usr/local/bin/tag --add paid {query} echo -n $query
  7. A little late to the party, but: THANK YOU, this is exactly what I have been looking for :)
  8. Sure! I'll do that as soon as it happens again - chances are good it will be tomorrow morning
  9. Sooo, after rebuilding the clipboard database, I had no problems for two days - but today the issue was back... I just wanted to report my "progress" ;D I don't know if my internal SSD could be responsible - I haven't noticed anything drive-related being wonky and it's the original drive that came with the MacBook Pro. Whatever the case may be, it's not a big deal - I can always just quit and relaunch Alfred via the menu bar item and get on with my life I will definitely keep an eye on the clipboard issue, but I'm kind of hoping it will just go away with a future update to either Alfred or macOS - it wouldn't be the first time that weird little issues like that disappear by themselves. Have a great weekend! And - as always: thanks for the most important piece of software I ever had since getting my first Mac 18 years ago Anna
  10. Hi Andrew, thanks so much for your reply - I'm sorry it took me so long to get back to you, I must have missed the notification email. The clipboard issue went away and came back since my initial post, there's really no logic to it, it seems. I have cleared the history just now - I must admit that I never even noticed the "Clear Now" button... that might be it, I'm using the clipboard history A LOT (for big stuff as well, like graphics from Illustrator & InDesign) and have never cleared it before... I will let you know how it goes Thanks again & cheers, Anna
  11. Hi guys! I keep seeing a weird little issue with Alfred 3.5.1 and I just wanted to ask if you've heard about it before: Oftentimes when I wake my MacBook Pro from sleep in the morning, Alfred's clipboard viewer will be stuck on the screen, with Alfred not responding to shortcuts or anything like that - I can move down the clipboard list (so the viewer is at least responding to the arrow keys), but I cannot do anything else with Alfred and I cannot make the clipboard viewer go away, no matter what I do. It stays on top of everything else and just sits there, the only way to get rid of it is to quit Alfred via the menu bar item. I guess the issue first came up a couple of months ago (I'm pretty sure it was after Alfred 3.5.1 was released) and it always goes away without me doing anything and then comes back a couple of days or a week later. For the last couple of days the clipboard viewer has been stuck on screen consistently every morning - and while it is not a problem or a big deal at all and just a tiny little bit annoying, I figured I'd ask in the forum if this has been mentioned before. I couldn't find anything via the forum search, so I started a new topic. Thanks & cheers, Anna - Alfred 3.5.1 - macOS Sierra 10.12.6 - MacBook Pro Retina, 15", mid 2015
  12. Thank you for your reply, smirky I really appreciate that you're open to the idea! Also, it's great to hear that you've got an update coming (I have to say though that DJ Pedro is doing a flawless job already!). Thanks for your continued work on this, DJ Pedro has totally replaced iTunes Genius for me Cheers, Anna
  13. Hi smirky! I love your workflow and I use it all the time - thank you for that I have one question though: would it be possible for DJ Pedro to create a playlist for Spotify? I'm asking because the best part about Last.fm (for me) is discovery - right now DJ Pedro can only use stuff I already own and know to create a playlist. If Pedro could make a playlist based on the massive catalogue of Spotify, that would be truly awesome. I would be perfectly happy if Pedro could just spit out a plain text list (artistname - trackname), then I could go to Ivy and convert that list into a Spotify playlist myself. Just in case you get really bored at some point in the future and need a crazy project to work on... ;D Cheers, Anna
  14. Hi Enhorn, I would love to get this working with Spotify as well - but I cannot find the line you mentioned anywhere in the workflow folder. What I have (in alfredfm_helper.rb) is this: def itunes_running? %x{osascript -e 'get running of application id "com.apple.itunes"'}.chomp == 'true' end I suppose the direct-download-version of the workflow (on the first page) doesn't have the swinsian changes yet. Could you maybe share your version of the workflow (with the changes applied)? @Filipe, or maybe you could update the direct download, that would be awesome Thanks and cheers, Anna
  15. Hi Ritashugisha, I just wanted to say "Thank you" once again, I am amazed at how much work you keep investing to improve this workflow! The new version works flawlessly for me, it's fast and stable and awesome I must admit that there are so many features by now that I haven't tried them all, but the ones I use are rock solid. Thanks again and have a happy new year!
  16. Wow, fantastic update!!! This workflow just keeps getting better and better Also: thank you so much for implementing the default-format setting!
  17. Hi David, thanks for your reply All my music is local, all files are AAC and iTunes Match is not activated. The error shows up when I try to play my own local music (not iTunes Radio tracks). I have no idea if certain tracks / albums / artists are related to the error - It seems pretty random to me... But the error only ever appears when I search for something to play with the mini player, not when I use the hotkeys for "next", "previous" and so on. Also I noticed that the error mostly gets logged BEFORE I press enter on a song, while I'm still typing into the mini player. That seems pretty weird...
  18. Hi! Almost every time I call the iTunes Miniplayer and start typing I see the following error in Console.app: 05.11.13 17:58:23,767 Alfred 2[18530]: [ERROR] AppleScript Error: { NSAppleScriptErrorAppName = iTunes; NSAppleScriptErrorBriefMessage = "Can\U2019t get container of container of current track."; NSAppleScriptErrorMessage = "iTunes got an error: Can\U2019t get container of container of current track."; NSAppleScriptErrorNumber = "-1728"; NSAppleScriptErrorRange = "NSRange: {0, 0}"; } Everything functions as it should, though - I can browse, choose songs, play them... everything's normal except for the error. I'm sure it's nothing to worry about, but I still wanted to mention it OS X 10.8.5, iTunes 11.1.2, Alfred v2.1 (218)
  19. Maybe you have figured this out already, but here it goes: Create a new custom search in Alfred's preferences under "Features"/"Web Search" (click the "Add custom search" button). Here's how it should look (you can choose any keyword you want, of course): Set up like this the search will take you directly to the artist page, that's why you can only search for artists (I prefer it that way). But you can also set it up so that it takes you to the search results page of Last.fm - in that case you could search for songs, albums and tags as well. If you want the second option, type this into the Search URL field: http://www.last.fm/search?q={query} If you have set up the custom search you need to go to the "Default Results" pane under "Features" in Alfred's preferences and then click on the "Setup fallback results" button. Here you can add your custom Last.fm search with the little "Plus" button. After that you should be good to go
  20. Hi Ritashugisha! Since you've been asking for feature requests... I understand that the workflow will always download the highest quality version, no matter what format. I personally always want the same format and I use luxadvanced to make sure I get that (and not some other format, even if it is a higher quality version). Maybe it would be nice if we could set a default "favorite" format, so that we can skip luxadvanced to make it even faster if we want a different format for whatever reason, we could still use luxadvanced. It's just an idea, but it could be useful to people like me who always want the same format (highest quality mp4 in my case). Thanks for your continued work on this!
×
×
  • Create New...