shaundon / spotiserver

Control Spotify on your Mac remotely.
1 stars 1 forks source link

The backend should use libspotify instead of AppleScript for portability #12

Open scottcunningham opened 8 years ago

scottcunningham commented 8 years ago

It's a C library so we'd have to use the NodeJS -> C bindings, just call helpers on the command line, or maybe use a pre-made binding like: https://github.com/FrontierPsychiatrist/node-spotify

scottcunningham commented 8 years ago

It's also worth noting that libspotify is "no longer under active development" and "deprecated" in favour of a new library that they haven't even released yet. However, I'd say it's still worth using it until they actually release a new API. https://developer.spotify.com/technologies/libspotify/

shaundon commented 8 years ago

Would libspotify actually work in this context? From what I understand, libspotify allows you to integrate Spotify into an application - for example, if you were writing a game that allowed users to stream music from Spotify while playing - whereas spotiserver is intended to act as a remote control for an instance of Spotify already running on another local machine.