hnarayanan/shpotify

manual install

nqzero opened this issue · 3 comments

I'm trying to follow the "manual install" instructions and am getting a couple of errors

  • needed to create the Applications directory
  • now I'm getting:
./shpotify.sh share
./shpotify.sh: line 156: osascript: command not found
./shpotify.sh: line 156: [: =: unary operator expected
./shpotify.sh: line 445: osascript: command not found
Spotify URL: https://open.spotify.com/track/
Spotify URI: 
To copy the URL or URI to your clipboard, use:
`spotify share url` or
`spotify share uri` respectively.

the help message displays correctly but everything else I've tried has given similar errors. Are there some additional packages that are required ?

Are you installing this on a Mac?

yeah, macbook pro retina 2014

Is /usr/bin in your path?

Can you try "echo $PATH" from the commandline and check if it's there? If not, add it to ~/.bash_profile

More info on how to do that: https://osxdaily.com/2014/08/14/add-new-path-to-path-command-line/