peapea Posted June 4, 2016 Share Posted June 4, 2016 Has an error every time I try it... [2016-06-04 18:48:08][sTDERR: input.scriptfilter] Warning: mkdir(): No such file or directory in /Users/paularmitage/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.498502BD-22F9-4AC4-8116-8CF758F79A9F/src/citelao/OhAlfred/OhAlfred.php on line 56 Warning: fopen(/Users/paularmitage/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.citelao.spotifious/2016-06-04 01-06-08 Spotifious.log): failed to open stream: No such file or directory in /Users/paularmitage/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.498502BD-22F9-4AC4-8116-8CF758F79A9F/src/citelao/OhAlfred/OhAlfred.php on line 237 Warning: fwrite() expects parameter 1 to be resource, boolean given in /Users/paularmitage/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.498502BD-22F9-4AC4-8116-8CF758F79A9F/src/citelao/OhAlfred/OhAlfred.php on line 238 Warning: fclose() expects parameter 1 to be resource, boolean given in /Users/paularmitage/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.498502BD-22F9-4AC4-8116-8CF758F79A9F/src/citelao/OhAlfred/OhAlfred.php on line 239 Super idea though! Link to comment
citelao Posted June 10, 2016 Author Share Posted June 10, 2016 (edited) Has an error every time I try it... [2016-06-04 18:48:08][sTDERR: input.scriptfilter] Warning: mkdir(): No such file or directory in /Users/paularmitage/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.498502BD-22F9-4AC4-8116-8CF758F79A9F/src/citelao/OhAlfred/OhAlfred.php on line 56 Warning: fopen(/Users/paularmitage/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.citelao.spotifious/2016-06-04 01-06-08 Spotifious.log): failed to open stream: No such file or directory in /Users/paularmitage/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.498502BD-22F9-4AC4-8116-8CF758F79A9F/src/citelao/OhAlfred/OhAlfred.php on line 237 Warning: fwrite() expects parameter 1 to be resource, boolean given in /Users/paularmitage/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.498502BD-22F9-4AC4-8116-8CF758F79A9F/src/citelao/OhAlfred/OhAlfred.php on line 238 Warning: fclose() expects parameter 1 to be resource, boolean given in /Users/paularmitage/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.498502BD-22F9-4AC4-8116-8CF758F79A9F/src/citelao/OhAlfred/OhAlfred.php on line 239 Super idea though! I will fix this bug as soon as I can, but for now you can fix it on your own by following the instructions on this bug. And thanks Edited June 10, 2016 by citelao peapea 1 Link to comment
peapea Posted June 10, 2016 Share Posted June 10, 2016 I will fix this bug as soon as I can, but for now you can fix it on your own by following the instructions on this bug. And thanks Thanks, worked fine after following the info on the link - cheers! Link to comment
citelao Posted June 19, 2016 Author Share Posted June 19, 2016 Thanks, worked fine after following the info on the link - cheers! Fixed in v0.13.1 Link to comment
Bunker Posted July 12, 2016 Share Posted July 12, 2016 Hi, Thx a lot for developing spotifious. I just installed it in el capitan on alfred 3.0.2 with powerpack activated and spotify 1.0.33.106.g60b5d1f0 I can use the play and pause part of the workflow, but whenever I try to find something I get the following error. # Error Log # ## Error Info ## fetch() failed; error code: 400 Line 29, /Volumes/Macintosh HD/Users/bunker/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.F07C15B8-5DAB-4518-BD4D-22D451DEBBB0/src/citelao/OhAlfred/HTTP/Fetcher.php ## Symbols ## Array ( [message] => fetch() failed; error code: 400 [vars] => [0] => Array ( [file] => /Volumes/Macintosh HD/Users/bunker/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.F07C15B8-5DAB-4518-BD4D-22D451DEBBB0/src/citelao/OhAlfred/HTTP/JsonFetcher.php [line] => 15 [function] => run [class] => OhAlfred\HTTP\Fetcher [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /Volumes/Macintosh HD/Users/bunker/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.F07C15B8-5DAB-4518-BD4D-22D451DEBBB0/src/citelao/Spotifious/Menus/Search.php [line] => 29 [function] => run [class] => OhAlfred\HTTP\JsonFetcher [type] => -> [args] => Array ( ) ) [2] => Array ( [file] => /Volumes/Macintosh HD/Users/bunker/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.F07C15B8-5DAB-4518-BD4D-22D451DEBBB0/src/citelao/Spotifious/Spotifious.php [line] => 129 [function] => __construct [class] => Spotifious\Menus\Search [type] => -> [args] => Array ( [0] => Dorje ) ) [3] => Array ( [file] => /Volumes/Macintosh HD/Users/bunker/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.F07C15B8-5DAB-4518-BD4D-22D451DEBBB0/main.php [line] => 23 [function] => run [class] => Spotifious\Spotifious [type] => -> [args] => Array ( [0] => Dorje ) ) ) Any suggestions what the problem might be? Link to comment
citelao Posted July 15, 2016 Author Share Posted July 15, 2016 Hi, Thx a lot for developing spotifious. I just installed it in el capitan on alfred 3.0.2 with powerpack activated and spotify 1.0.33.106.g60b5d1f0 I can use the play and pause part of the workflow, but whenever I try to find something I get the following error. # Error Log # ## Error Info ## fetch() failed; error code: 400 Line 29, /Volumes/Macintosh HD/Users/bunker/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.F07C15B8-5DAB-4518-BD4D-22D451DEBBB0/src/citelao/OhAlfred/HTTP/Fetcher.php ## Symbols ## Array ( [message] => fetch() failed; error code: 400 [vars] => [0] => Array ( [file] => /Volumes/Macintosh HD/Users/bunker/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.F07C15B8-5DAB-4518-BD4D-22D451DEBBB0/src/citelao/OhAlfred/HTTP/JsonFetcher.php [line] => 15 [function] => run [class] => OhAlfred\HTTP\Fetcher [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /Volumes/Macintosh HD/Users/bunker/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.F07C15B8-5DAB-4518-BD4D-22D451DEBBB0/src/citelao/Spotifious/Menus/Search.php [line] => 29 [function] => run [class] => OhAlfred\HTTP\JsonFetcher [type] => -> [args] => Array ( ) ) [2] => Array ( [file] => /Volumes/Macintosh HD/Users/bunker/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.F07C15B8-5DAB-4518-BD4D-22D451DEBBB0/src/citelao/Spotifious/Spotifious.php [line] => 129 [function] => __construct [class] => Spotifious\Menus\Search [type] => -> [args] => Array ( [0] => Dorje ) ) [3] => Array ( [file] => /Volumes/Macintosh HD/Users/bunker/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.F07C15B8-5DAB-4518-BD4D-22D451DEBBB0/main.php [line] => 23 [function] => run [class] => Spotifious\Spotifious [type] => -> [args] => Array ( [0] => Dorje ) ) ) Any suggestions what the problem might be? That's weird—error 400 is "bad request," but you're just searching for "Dorje." Are you still getting the error? Link to comment
bigbadrabbit Posted September 9, 2016 Share Posted September 9, 2016 Thanks for this incredible workflow! Can the volume steps be modified to make smaller steps? Like 5% instead of 10%? Link to comment
samvandersteen Posted May 31, 2017 Share Posted May 31, 2017 Hi Citelao, First of all, love this workflow. Very nice. Unfortunately it broke down all of the sudden. Check the search result in the screenshot I attached. I can't read a line of code so I'm not able to fix this problem myself. Please help me out to enjoy your workflow again. Thanks! Yours, Sam. Link to comment
citelao Posted May 31, 2017 Author Share Posted May 31, 2017 (edited) 8 hours ago, samvandersteen said: Hi Citelao, First of all, love this workflow. Very nice. Unfortunately it broke down all of the sudden. Check the search result in the screenshot I attached. I can't read a line of code so I'm not able to fix this problem myself. Please help me out to enjoy your workflow again. Thanks! Yours, Sam. Thanks for the kind words, Sam! Assuming you're running the latest version, which is v0.13.2.1 as of 31 May 2017, try logging in again: Type `s` from the main screen to open the settings menu Select "Login again to my Spotify application" and follow the remaining instructions in the web browser that opens. If that doesn't work, please send me the log file that appears when the error hits (the third option on the error page will open the folder that stores these logs). Good luck! Edited May 31, 2017 by citelao Link to comment
atabbott Posted June 3, 2017 Share Posted June 3, 2017 @citelao I was having the same issue as @samvandersteen. It resulted from an authentication requirement change for Spotify web API requests that took effect on 29th May 2017. I've written a quick fix and submitted a pull request on GitHub here. Not the most elegant solution I'm sure but it works for me and you'd be the best person to do any tidying up required. citelao 1 Link to comment
citelao Posted June 4, 2017 Author Share Posted June 4, 2017 @samvandersteen @atabbott Fixed in the newest release, v0.13.3. Also, enjoy playlist search and faster hotkeys . Link to comment
samvandersteen Posted June 6, 2017 Share Posted June 6, 2017 Hi Citelao, Thanks for your fast response. I have tried to install the new workflow, but a similar problem keeps occurring unfortunately. I have uploaded the log beneath. Link to comment
citelao Posted June 6, 2017 Author Share Posted June 6, 2017 11 hours ago, samvandersteen said: Hi Citelao, Thanks for your fast response. I have tried to install the new workflow, but a similar problem keeps occurring unfortunately. I have uploaded the log beneath. Fixed in v0.13.3.1, which I'm posting to Packal and associated now. Thanks @chrsblck! Link to comment
samvandersteen Posted June 6, 2017 Share Posted June 6, 2017 (edited) Awesome buddy! It works. Thanks. Edited June 6, 2017 by samvandersteen citelao 1 Link to comment
lunatic.frank Posted June 6, 2017 Share Posted June 6, 2017 Hi, Your idea looks fantastic! However, after following all your steps, the music cannot play. Details go like this: I choose the song, and press "enter", but it just gives me no response and also the Alfred window disappears. I have not installed the Spotify Application, but I do not think it matters? Wish your reply, Frank Link to comment
citelao Posted June 6, 2017 Author Share Posted June 6, 2017 16 minutes ago, lunatic.frank said: Hi, Your idea looks fantastic! However, after following all your steps, the music cannot play. Details go like this: I choose the song, and press "enter", but it just gives me no response and also the Alfred window disappears. I have not installed the Spotify Application, but I do not think it matters? Wish your reply, Frank It controls the Spotify app, just like the iTunes mini player, so you'll need to install the app for anything to work :D. There's a beta API for controlling players remotely, if you have premium, which I can look into, but there are a lot of pain points I'd have to fix before that would work. So just Spotify app for now Link to comment
lunatic.frank Posted June 6, 2017 Share Posted June 6, 2017 19 minutes ago, citelao said: It controls the Spotify app, just like the iTunes mini player, so you'll need to install the app for anything to work :D. There's a beta API for controlling players remotely, if you have premium, which I can look into, but there are a lot of pain points I'd have to fix before that would work. So just Spotify app for now Erm, I originally thought it was remote one. Now it works perfect! Thanks a lot! Link to comment
dshen Posted September 7, 2017 Share Posted September 7, 2017 I have Alfred 2. It's not compatible? Link to comment
BrianBarr Posted January 18, 2018 Share Posted January 18, 2018 I have no idea how hard these things will be but here are the two things that would make this AWEOMSE! Save song to library (concern: either include notif or make sure that it's not just a binary on/off command to prevent unsaving songs you forgot you saved) Add to playlist (a default playlist would minimally suffice, select playlist as second command would be EPIC) Add to queue Link to comment
samvandersteen Posted February 27, 2018 Share Posted February 27, 2018 Hi Citelao, Little UX feedback thingy. The hoover color is the same as the icon. Sometimes I just want to select a number, instead it opens the album or artist page. Maybe the hoover a shade darker or lighter so the icon has enough contrast? Thanks buddy! Link to comment
citelao Posted March 3, 2018 Author Share Posted March 3, 2018 On 9/7/2017 at 3:51 PM, dshen said: I have Alfred 2. It's not compatible? I believe https://github.com/citelao/Spotify-for-Alfred/releases/tag/v0.13 was the last Alfred 2-compatible release; I do not know if it still works. It is very hard to keep a working Alfred 2 version :(. On 1/18/2018 at 6:30 AM, BrianBarr said: I have no idea how hard these things will be but here are the two things that would make this AWEOMSE! Save song to library (concern: either include notif or make sure that it's not just a binary on/off command to prevent unsaving songs you forgot you saved) Add to playlist (a default playlist would minimally suffice, select playlist as second command would be EPIC) Add to queue I'd love to do those things! Take a look at https://github.com/citelao/Spotify-for-Alfred/issues and add some feature requests if you'd like! On 2/27/2018 at 12:17 AM, samvandersteen said: Hi Citelao, Little UX feedback thingy. The hoover color is the same as the icon. Sometimes I just want to select a number, instead it opens the album or artist page. Maybe the hoover a shade darker or lighter so the icon has enough contrast? Thanks buddy! Ugh, I know! Alfred changed their default theme on me, I think... I've worked around it by using the MacOS theme, but you're right; I should try to change them. See https://github.com/citelao/Spotify-for-Alfred/issues/118. Link to comment
Tim H Posted June 25, 2019 Share Posted June 25, 2019 Doesn't seem to work with Alfred 4. I'm getting a segmentation fault on the main.php script when I start Spotifious in Alfred 4. [10:49:11.232] ERROR: Spotifious[Script Filter] Code 139: /bin/bash: line 3: 50585 Segmentation fault: 11 php -f main.php -- "" Press the hotkey See "Getting Spotifious data..." After a few seconds, goes back to the regular Alfred prompt (Tried reinstalling) Link to comment
deanishe Posted June 26, 2019 Share Posted June 26, 2019 It seems unlikely that Alfred 4 is causing a segfault in PHP. Which version of macOS are you using? 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