Hi!
Since January 2013 I have been working on node-spotify, a wrapper for 
libspotify in node.js (thus a native module) that aims at a coherent, easy 
interface.

I have seen that Floby has started a similar project around the same time, 
so you can choose between us two. I think node-libspotifys interface is 
somewhat nearer to libspotify itself than mine.

You can find node-spotify in npm, at github and on my page (precompiled 
module for OSX and an API documentation is available there). To use it 
libspotify must be installed and you need a premium account and appkey from 
Spotify.

Github: https://github.com/FrontierPsychiatrist/node-spotify
npm: https://npmjs.org/package/node-spotify
My page: http://www.node-spotify.com/

I'm near finishing version 0.4.0 which includes artist and album browsing 
and creation of objects from links.

If you have trouble starting my suggestion is to create the module, login, 
wait a few seconds and then logout (doing nothing in between). This will 
save the spotify caches to disk and the objects will be available sooner 
next time. I hope to improve this in further versions.

I also think that node-spotify is one of the larger native modules out 
there, so you can have a look around at how I structured the code. I think 
the implementation of the spotify loop is particulary interesting, I 
switched it from a separate thread to libuv a few commits ago. Find it in 
SessionCallbacks.cc and compare it to SpotifyService.cc (in old revisions, 
it is deleted now).

If you find bugs or have improvement suggestions please contact me.

Have fun with node-spotify!

Moritz

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to