Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Objective-C C
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
CocoaLibSpotify.framework
cocoa_spotify.xcodeproj
cocoa_spotify
.gitignore
README.md
SPCircularBuffer.h
SPCircularBuffer.m
SPPlaybackManager.h
SPPlaybackManager.m
ZMQContext.h
ZMQObjC.h
ZMQSocket.h
libzmqobjc.a

README.md

Cocoa Spotbox Driver

The cocoa_spotbox_driver is a Spotbox driver written in Cocoa/Objective-C.

Spotify

The cocoa_spotbox_driver uses cocoalibspotify to play music from the Spotify music service.

Getting Spotify Credentials

In order to use the spotify API, you're going to need to have access to a Premium Spotify account. Pony up, cheap ass.

Create API Config File

Write your spotify username/password to config.h as follows:

#define SPOTIFY_USERNAME "XXXXXXXXX"
#define SPOTIFY_PASSWORD "XXXXXXXXX"

Create App Key

Upon logging in with your username/password, browse to https://developer.spotify.com/en/libspotify/application-key/. Download your appkey as C code and write it to appkey.c.

Dependencies

Getting the Packages w/ Homebrew

Install libzmq

Install the libzmq package using brew install libzmq

Something went wrong with that request. Please try again.