fabiofalci / sconsify

A spotify console application
https://fabiofalci.github.io/sconsify
Apache License 2.0
566 stars 26 forks source link

libspotify no longer on brew #77

Open aaronrudkin opened 7 years ago

aaronrudkin commented 7 years ago

Try to install libspotify dependency on MacOS:

aaron@mb:/usr/local/opt$ brew install libspotify
Error: No available formula with the name "libspotify"
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
Error: No formulae found in taps.

Check to confirm the homebrew/binary keg is tapped:

aaron@mb:/usr/local/opt$ brew tap
caskroom/cask
caskroom/fonts
homebrew/binary
homebrew/core
osgeo/osgeo4mac

Try to explicitly specify path:

aaron@mb:/usr/local/opt$ brew install homebrew/binary/libspotify
Updating Homebrew...
Error: No available formula with the name "homebrew/binary/libspotify"
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
Error: No formulae found in taps.

Try to search:

aaron@mb:/usr/local/opt$ brew search spotify
Caskroom/cask/spotify-notifications                                                        Caskroom/cask/spotify

Not sure when this broke, but as-is the installation instructions here are broken.

Edit: Wow, that was overkill -- http://brewformulas.org/Libspotify the brew formula site confirms it is no longer available this way.

fabiofalci commented 7 years ago

Unfortunately, it seems Spotify will be shutting down libspotify soon. There is a new warning about the removal of binaries from the website.

https://developer.spotify.com/technologies/libspotify/

remembertoremind commented 7 years ago

What!? NooOO!! I have been searching for spotify in console for a few weeks and they have either deprecated or limited use. I was hoping that this project would solve my problems :/

fabiofalci commented 7 years ago

Yeah, that's a shame. You can't download libspotify from anywhere anymore.

If you have libspotify installed on your computer, it's still working.

I need to add a warning in the README about this.

kehao-chen commented 7 years ago

Will you rework sconsify with Spotify's web API?


kehao-chen commented 7 years ago

User can still download libspotify here. You need to create a symbolic link to /usr/local/opt/libspotify/lib/libspotify manually.

fabiofalci commented 7 years ago

@HappyHackingNinja we moved to web api already, only using libspotify to play the track.

linktozelda commented 7 years ago

Trying to install on OSX, but can't seem to get this working. Have downloaded the sconsify binary and source code, and am stuck at the same place. If I follow HappyHackingNinja's link, which version of libspotify should I download (OSX? Linux?), where should I install it, and do I need to create a symlink to it?

Apologies if these are stupid questions; have been trying for hours with no luck.

kehao-chen commented 7 years ago

Hi @linktozelda,

Here are my steps:

  1. Download libspotify 12.1.51 for Mac OS X/Darwin
  2. Uncompress the file and copy libspotify.framework to /Library/Frameworks (optional)
    • $ sudo cp -R ./libspotify-12.1.51-Darwin-universal/libspotify.framework /Library/Frameworks
  3. sconsify will load libspotify from /usr/local/opt/libspotify/lib/libspotify. User should create a symbolic link to /usr/local/opt/libspotify/lib/libspotify
    • $ mkdir -p /usr/local/opt/libspotify/lib
    • $ ln -s /Library/Frameworks/libspotify.framework/libspotify /usr/local/opt/libspotify/lib
  4. Enjoy it <3
linktozelda commented 7 years ago

Thanks so much @HappyHackingNinja ! It works perfectly. Thanks also @fabiofalci for putting this together.

chussenot commented 7 years ago

@fabiofalci @HappyHackingNinja Do you want a PR for the README.md file ?

Kezzsim commented 4 years ago
  • For macOS users:

User can still download libspotify here. You need to create a symbolic link to /usr/local/opt/libspotify/lib/libspotify manually.

Uhhhhh, no

The zip available from that link just contains an endlessly recursing series of cpgz files I've tried using wget and other browsers to download it with no avail.

Instead it seems like Mopidy is taking one for the team and hosting that over on this github. Thanks fam

fabiofalci commented 4 years ago

@Kezzsim I probably have the zip around from the last time I installed on macos. Can you email me and remind me to look?

Kezzsim commented 4 years ago

It's alright, thank you for your offer and quick response I was eventually able to find it hosted on the Mopidy github