judgejohn82 Posted April 19, 2013 Share Posted April 19, 2013 Okay, I pushed a new version of the plugin with a potential fix. Let me know if it works for you. -Caleb Yep, working now. Thank you! Link to comment
redzep Posted July 7, 2013 Share Posted July 7, 2013 any chance this can work over shared libraries? THANKS! Link to comment
caleb531 Posted July 7, 2013 Author Share Posted July 7, 2013 any chance this can work over shared libraries? THANKS! I'm not sure that's possible with AppleScript, and I wouldn't know how to go about adding such a feature. Sorry, Caleb Link to comment
Gary King Posted July 26, 2014 Share Posted July 26, 2014 Any chance this could be made to quickly play a specific playlist? Link to comment
caleb531 Posted July 26, 2014 Author Share Posted July 26, 2014 Any chance this could be made to quickly play a specific playlist? That might be possible to implement, though I have no plans for doing so. I'd prefer to keep the app simple by displaying only songs in the suggestions list. I hope you can understand. -Caleb Link to comment
caleb531 Posted October 29, 2014 Author Share Posted October 29, 2014 (edited) Hi Caleb, It seems you have done great work, although it is not working for me in Yosemite. When I type play - space -song name, it transfer me to google. Any chance that the workflow got broken with Yosemite? Thank you for your help, I just downloaded the latest workflow from GitHub and tested it, but everything is working as it should. Note that if you hold down the control key when choosing a song from the list, it will search the song on Google. Perhaps the control key is somehow being held down when you choose a result. I'm running Yosemite myself and have no issues using my workflow. -Caleb Edited October 29, 2014 by caleb531 Steven Memel 1 Link to comment
benjid Posted November 8, 2014 Share Posted November 8, 2014 Not working for me on yosemite: Starting debug for 'Play Song' [ERROR: alfred.workflow.input.scriptfilter] Code 1: 3726:3743: execution error: The variable artworkFolderName is not defined. (-2753) [ERROR: alfred.workflow.input.scriptfilter] Code 1: 3726:3743: execution error: The variable artworkFolderName is not defined. (-2753) [ERROR: alfred.workflow.input.scriptfilter] Code 1: 3726:3743: execution error: The variable artworkFolderName is not defined. (-2753) Link to comment
caleb531 Posted November 8, 2014 Author Share Posted November 8, 2014 Not working for me on yosemite: Starting debug for 'Play Song' [ERROR: alfred.workflow.input.scriptfilter] Code 1: 3726:3743: execution error: The variable artworkFolderName is not defined. (-2753) [ERROR: alfred.workflow.input.scriptfilter] Code 1: 3726:3743: execution error: The variable artworkFolderName is not defined. (-2753) [ERROR: alfred.workflow.input.scriptfilter] Code 1: 3726:3743: execution error: The variable artworkFolderName is not defined. (-2753) Did you download the workflow directly from GitHub? Link to comment
benjid Posted November 8, 2014 Share Posted November 8, 2014 yes I downloaded the zip and double clicked the workflow file. Did I do something wrong? Link to comment
caleb531 Posted November 8, 2014 Author Share Posted November 8, 2014 yes I downloaded the zip and double clicked the workflow file. Did I do something wrong? No, you did exactly what you should have done. Fortunately, I have discovered the root cause of the issue, and have pushed a fix to GitHub. Please download the new workflow and let me know if it works for you. Caleb Steven Memel 1 Link to comment
benjid Posted November 8, 2014 Share Posted November 8, 2014 No, you did exactly what you should have done. Fortunately, I have discovered the root cause of the issue, and have pushed a fix to GitHub. Please download the new workflow and let me know if it works for you. Caleb Totally fixed. Awesome! Link to comment
caleb531 Posted November 8, 2014 Author Share Posted November 8, 2014 Totally fixed. Awesome! Ah, fantastic! I hope you find the workflow easy and convenient. Ironic, though: you reported the bug just as I was working on v2.0 of the workflow, which is going to be so much more awesome. Enjoy! Caleb Link to comment
Matthew Lancellotti Posted November 8, 2014 Share Posted November 8, 2014 (edited) Thanks, dude. I had that same bug. Thanks for the fix! P.S. When the song is not found, the search in google options is disabled. But when no results are found, that's when i want to search on google! In fact, I shouldn't even have to hold down control in order for that to happen... Edited November 8, 2014 by Matthew Lancellotti Link to comment
caleb531 Posted November 12, 2014 Author Share Posted November 12, 2014 Hello, everyone! I am pleased to announce the arrival of Play Song v2, a major new release of the workflow. Per popular request, the new release includes the ability to play not only individual songs, but albums, artists, and genres as well. See the README on the project page for details on usage. Enjoy! Caleb Link to comment
benjid Posted November 12, 2014 Share Posted November 12, 2014 New features sound great, but not working again: Starting debug for 'Play Song' [ERROR: alfred.workflow.input.scriptfilter] Code 1: execution error: Finder got an error: AppleEvent handler failed. (-10000) [ERROR: alfred.workflow.input.scriptfilter] Code 1: execution error: Finder got an error: AppleEvent handler failed. (-10000) [ERROR: alfred.workflow.input.scriptfilter] Code 1: execution error: Finder got an error: AppleEvent handler failed. (-10000) [ERROR: alfred.workflow.input.scriptfilter] Code 1: execution error: Finder got an error: AppleEvent handler failed. (-10000) Link to comment
Tyilo Posted November 12, 2014 Share Posted November 12, 2014 (edited) New features sound great, but not working again: Starting debug for 'Play Song' [ERROR: alfred.workflow.input.scriptfilter] Code 1: execution error: Finder got an error: AppleEvent handler failed. (-10000) [ERROR: alfred.workflow.input.scriptfilter] Code 1: execution error: Finder got an error: AppleEvent handler failed. (-10000) [ERROR: alfred.workflow.input.scriptfilter] Code 1: execution error: Finder got an error: AppleEvent handler failed. (-10000) [ERROR: alfred.workflow.input.scriptfilter] Code 1: execution error: Finder got an error: AppleEvent handler failed. (-10000) I have the same problem. Edited November 12, 2014 by Tyilo Link to comment
caleb531 Posted November 12, 2014 Author Share Posted November 12, 2014 (edited) New features sound great, but not working again: Starting debug for 'Play Song' [ERROR: alfred.workflow.input.scriptfilter] Code 1: execution error: Finder got an error: AppleEvent handler failed. (-10000) [ERROR: alfred.workflow.input.scriptfilter] Code 1: execution error: Finder got an error: AppleEvent handler failed. (-10000) [ERROR: alfred.workflow.input.scriptfilter] Code 1: execution error: Finder got an error: AppleEvent handler failed. (-10000) [ERROR: alfred.workflow.input.scriptfilter] Code 1: execution error: Finder got an error: AppleEvent handler failed. (-10000) I have the same problem. Well, after a quick examination of the code, I can see how that might happen. However, in order to confirm this suspicion, I need your help: Please tell me if the following path exists on your system. If it does not exist, then please tell me how far deep the path goes for you: /Users/[YOUR USERNAME]/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/ Thanks, Caleb Edited November 12, 2014 by caleb531 Link to comment
Tyilo Posted November 12, 2014 Share Posted November 12, 2014 Well, after a quick examination of the code, I can see how that might happen. However, in order to confirm this suspicion, I need your help: Please tell me if the following path exists on your system. If it does not exist, then please tell me how far deep the path goes for you: /Users/[YOUR USERNAME]/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/ Thanks, Caleb It exists and contains a directory called "caleb531.playsong" which contains some album artworks. Link to comment
Tyilo Posted November 12, 2014 Share Posted November 12, 2014 Support If you have a bug to report or a feature to request, you may submit an issue on GitHub or post in this thread. Why don't you respond to the posted issues on your GitHub repo? Link to comment
caleb531 Posted November 12, 2014 Author Share Posted November 12, 2014 It exists and contains a directory called "caleb531.playsong" which contains some album artworks. Ah, I didn't realize you posted a corresponding GitHub issue. Will do. Caleb Link to comment
Tyilo Posted November 12, 2014 Share Posted November 12, 2014 Ah, I didn't realize you posted a corresponding GitHub issue. Will do. Caleb Thanks Link to comment
Tyilo Posted November 12, 2014 Share Posted November 12, 2014 New features sound great, but not working again: Starting debug for 'Play Song' [ERROR: alfred.workflow.input.scriptfilter] Code 1: execution error: Finder got an error: AppleEvent handler failed. (-10000) [ERROR: alfred.workflow.input.scriptfilter] Code 1: execution error: Finder got an error: AppleEvent handler failed. (-10000) [ERROR: alfred.workflow.input.scriptfilter] Code 1: execution error: Finder got an error: AppleEvent handler failed. (-10000) [ERROR: alfred.workflow.input.scriptfilter] Code 1: execution error: Finder got an error: AppleEvent handler failed. (-10000) Could you try running this script in Terminal: bundleid="com.calebevans.playsong" container="" for f in ~/Library/Application\ Support/Alfred\ 2/Alfred.alfredpreferences/workflows/user.workflow.*/; do if plutil -extract bundleid xml1 "$f/info.plist" -o - | grep "$bundleid" &> /dev/null; then container="$f" break fi done if [[ "$container" = "" ]]; then echo 'Failed to find workflow container directory!' exit 1 fi for f in "$container"/*.scpt; do plaintext=$(osadecompile "$f") # | sponge | echo "$plaintext" | osacompile -o "$f" done echo 'Recompiled scripts!' It should recompile the script file that is causing that error. Please report back it works. Link to comment
benjid Posted November 15, 2014 Share Posted November 15, 2014 Could you try running this script in Terminal: bundleid="com.calebevans.playsong" container="" for f in ~/Library/Application\ Support/Alfred\ 2/Alfred.alfredpreferences/workflows/user.workflow.*/; do if plutil -extract bundleid xml1 "$f/info.plist" -o - | grep "$bundleid" &> /dev/null; then container="$f" break fi done if [[ "$container" = "" ]]; then echo 'Failed to find workflow container directory!' exit 1 fi for f in "$container"/*.scpt; do plaintext=$(osadecompile "$f") # | sponge | echo "$plaintext" | osacompile -o "$f" done echo 'Recompiled scripts!' It should recompile the script file that is causing that error. Please report back it works. worked! Link to comment
caleb531 Posted November 15, 2014 Author Share Posted November 15, 2014 (edited) worked! You should also be happy to know that I've integrated Tyilo's fix into the workflow itself, and so the issue of missing results should no longer be present. The new workflow is available for download via the link in this thread's original post. Enjoy using the workflow! Caleb Edited November 15, 2014 by caleb531 Link to comment
caleb531 Posted November 20, 2014 Author Share Posted November 20, 2014 Hi, everyone. I recently released Play Song v2.1, which adds support for playing user playlists via the playplaylist keyword. Enjoy! Caleb Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now