Jump to content

Spotifious: a natural Spotify controller for Alfred


Recommended Posts

2 hours ago, Tim H said:

Was using the Homebrew version based on the path.

 

That’s odd. Have you changed your $PATH in launchd? Normally, /usr/local/bin isn’t on your path in Alfred.

 

I also wonder why it was segfaulting. That’s really not supposed to happen.

 

Anyhow, glad it’s working

Edited by deanishe
Link to comment
8 hours ago, deanishe said:

 

That’s odd. Have you changed your $PATH in launchd? Normally, /usr/local/bin isn’t on your path in Alfred.

 

I also wonder why it was segfaulting. That’s really not supposed to happen.

 

Anyhow, glad it’s working

 

Thanks for your help!

 

10 hours ago, Tim H said:

Duh, you're right.  Put in the absolute path to the system PHP ('/usr/bin/php') and it works again.  Was using the Homebrew version based on the path.

 

 

 

I'm glad you fixed it, too!

Link to comment
20 hours ago, deanishe said:

 

That’s odd. Have you changed your $PATH in launchd? Normally, /usr/local/bin isn’t on your path in Alfred.

 

 

Actually, just noticed that Spotifious sets the path to `/usr/local/bin` explicitly in the script filter, so it will pick up Homebrew PHP if it's there. 

 

# Add Homebrew to path for those who need :)
export PATH="/usr/local/bin:${PATH}"

php -f main.php -- "{query}"

# In case you are experiencing unsolveable issues,
# you can generate a log file to help me. Modify the
# first line of this script so it looks like this:
# php -f main.php -- "{query}" | tee ~/Desktop/Spotifious.log

 

Link to comment
  • 3 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...