Closed m10e closed 12 years ago
Hi!
Sorry, the current release of Hallon (v0.8.0) depends on Spotify v9.0.x (like v9.0.1 that you have there). Hallon on rubygems have not (yet) been upgraded for libspotify v10, but I’m pleased to say that a new version is to be released today, which supports libspotify v10 and also has support for Playlists!
If you don’t want to wait, you can use Hallon directly from GitHub. I am finishing things up for a new release at the moment, however, so the new versions should be out very soon.
If you wish to try out v9 despite all this, the links to libspotify v9 is here:
Just released Hallon v0.9.0, which should work for libspotify v10 so I’m closing this issue. You’re welcome to reopen it if it still does not work for you!
First of all, thanks for making this gem (and Hallon). I'm sure they will prove excellent as soon as I get them running =o)
When trying out your example on http://burgestrand.se/articles/hallon-delicious-ruby-bindings-to-libspotify.html, FFI fails with:
/opt/local/lib/ruby1.9/gems/1.9.1/gems/ffi-1.0.11/lib/ffi/library.rb:249:in
attach_function': Function 'sp_session_num_friends' not found in [/Library/Frameworks/libspotify.framework/libspotify] (FFI::NotFoundError) from /opt/local/lib/ruby1.9/gems/1.9.1/gems/spotify-9.0.1/lib/spotify.rb:245:in
module:Spotify'It seems that Spotify has deprecated the functionality to list friends, and as of libspotify 10 it is gone altogether from the lib (details at http://developer.spotify.com/blog/archives/2011/11/01/libspotify-10-is-available/). I first inspected the dylib, then checked the API docs, then found that Spotify blog post... Gone with the wind. And I can't find any place to download libspotify 9, so I can't use your bindings at all right now. I was wondering if you'd like to remove the deprecated stuff from libspotify-ruby (and Hallon if applicable)? Thanks again!