sconsify icon indicating copy to clipboard operation
sconsify copied to clipboard

libspotify no longer on brew

Open aaronrudkin opened this issue 7 years ago • 13 comments

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.

aaronrudkin avatar Mar 28 '17 04:03 aaronrudkin

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/

fabiofalci avatar Mar 28 '17 08:03 fabiofalci

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 :/

remembertoremind avatar Apr 11 '17 09:04 remembertoremind

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.

fabiofalci avatar Apr 11 '17 11:04 fabiofalci

Will you rework sconsify with Spotify's web API?


kehao-chen avatar Apr 12 '17 05:04 kehao-chen

  • For macOS users:

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

kehao-chen avatar Apr 12 '17 06:04 kehao-chen

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

fabiofalci avatar Apr 12 '17 08:04 fabiofalci

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.

linktozelda avatar Apr 12 '17 17:04 linktozelda

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

kehao-chen avatar Apr 13 '17 01:04 kehao-chen

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

linktozelda avatar Apr 13 '17 08:04 linktozelda

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

chussenot avatar Jul 12 '17 20:07 chussenot

  • 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

Kezzsim avatar Nov 12 '19 18:11 Kezzsim

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

fabiofalci avatar Nov 12 '19 18:11 fabiofalci

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

Kezzsim avatar Nov 12 '19 18:11 Kezzsim