BenjaminPaap Posted April 23, 2014 Share Posted April 23, 2014 (edited) Copied from the projects github.com page: https://github.com/benjaminpaap/SoundcloudControl SoundcloudControl for Alfred2 This is an Alfred2 workflow to control an opened soundcloud.com tab in Google Chrome. Installation Just download the SoundcloudControl.alfredworkflow to your local harddrive and double click on it to open Alfred2 and import the workflow. Usage When installed correctly SoundcloudControl offers some commands to control an opened soundcloud.com tab in Google Chrome: sc play Plays the first song in the currently opened soundcloud tab. This could be your stream, a playlist or anything else. sc pause Stops the playback of the current song sc next Plays the next song in the currently opened soundcloud tab sc prev Plays the previous song in the currently opened soundcloud tab sc like Likes the current song Contributions If you would like to use this workflow for another browser it would be great if you could contribute your changes to this repository as a pull request. I will review and merge it as fast as possible. Contributions are highly welcome. This is my first workflow I shared. Any hints on improving this are highly appreciated. Edited April 23, 2014 by BenjaminPaap arsenty 1 Link to comment
td. Posted April 27, 2014 Share Posted April 27, 2014 (edited) Great Workflow! In the first step autocomplete would be nice. So i could just type in "sc n" and press enter to skip to the next song. Something like that: Some more ideas: just show the pause and play button when it is needed (if possible)"sc" + press enter would pause or play soundcloud show the title of the song change the symbol to specific icons: play, pause, next, prev, love That would be awesome! EDIT: I just found this: https://www.johneday.com/617/generate-feedback-in-alfred-2-workflows Maybe it could help you. I have nearly no conception of apple script. Edited April 27, 2014 by td. Link to comment
BenjaminPaap Posted April 28, 2014 Author Share Posted April 28, 2014 Hi, I published a new version including your suggestions. Maybe someone could supply me with some icons because the ones currently included dont look great but for now it works. Link to comment
td. Posted April 28, 2014 Share Posted April 28, 2014 (edited) Hello, nice! That was fast and it works good. Sometimes it takes a few seconds to load, but that is ok. Here are my icon suggestions. It's a combination of the icons from the soundcloud page and from icon-fonts. Download files here: https://www.dropbox.com/s/tsaqkclq1i7t80h/soundcloud-icons.zip I noticed a few things: 1. When you type "sc " (sc + blank) there are all six options. But when you only type "sc" without the blank, "like" is missing. 2. It would make sense to remove the hyphen at play too. Like "Title" Pause "Title" Play - "Title" 3. I get following error message, when i use the "open" command: Google Chrome got an error: Can’t make or move that element into that container. Error number-10024 4. And when Chrome is closed and i type in "sc " an emtpy Chrome window is opened. Edited April 28, 2014 by td. Link to comment
politicus Posted April 29, 2014 Share Posted April 29, 2014 (edited) Like in the previous comment: when I tried to make the workflow open a soundcloud tab (no soundcloud tab was already opened) I got the error "Google Chrome got an error: Can't make or move that element into that container" "Error number -10024". Using Google Chrome 34. HTH. Edited April 29, 2014 by politicus Link to comment
BenjaminPaap Posted April 29, 2014 Author Share Posted April 29, 2014 Made a new version available for you guys. Hopefully all bugs are fixed. Included the icons from "td.". Thanks for that man, great work. Link to comment
lmachado Posted October 30, 2014 Share Posted October 30, 2014 This was working fine for me for several months, and suddenly it's not working anymore. I type "s" then "c" and immediately I get the following error: https://www.dropbox.com/s/c7s37juwe58c4ms/Screenshot%202014-10-30%2009.49.42.png?dl=0 Alfred workflow debug log doesn't show anything at all...Any ideas? Link to comment
mixterdee Posted November 9, 2014 Share Posted November 9, 2014 I just get an error when I type in SC: Can't make missing value into type number. Error number-1700 Link to comment
gflores Posted November 17, 2014 Share Posted November 17, 2014 I'm also experiencing this issue, the only change I can think of was the v2 alfred update "Can’t make missing value into type number. Error number-1700" Mac OS X Yosemite 10.10 Link to comment
BenjaminPaap Posted November 18, 2014 Author Share Posted November 18, 2014 Sorry guys, at the moment I am not able to maintain this anymore. Had a quick look into whats going on there but wasnt able to fix it in a few minutes so I have to investigate deeper. If someone is able to code a bit javascript and AppleScript I would be glad to get a pull request on github for this issue here: https://github.com/BenjaminPaap/SoundcloudControl Link to comment
politicus Posted February 2, 2015 Share Posted February 2, 2015 Experiencing the "Error number-1700" error too. 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