-
Notifications
You must be signed in to change notification settings - Fork 144
/
Sample Projects README.txt
24 lines (14 loc) · 1.41 KB
/
Sample Projects README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
CocoaLibSpotify Sample Projects
===============================
Please note: These sample projects require Mac OS X 10.6 and higher and Xcode 4.0 to build on Mac OS X, or Xcode 4.0 and the iOS 4.3 or higher SDK for iOS.
Please also note: The sample projects need a valid application key to build, placed in "appkey.c" in the same directory as the rest of the code files. Premium users can obtain an application key at http://developer.spotify.com/.
SimplePlayer
============
SimplePlayer is a very simple project that demonstrates logging in to the Spotify service using CocoaLibSpotify and playing a track.
Since CocoaLibSpotify doesn't handle audio playback itself, a two classes are provided to help out:
SPPlaybackManager: A class that takes care of SPSessionPlaybackDelegate methods to extract audio data and push it through CoreAudio.
SPCircularBuffer: A simple circular buffer built around libspotify's behavior. This is used by SPPlaybackManager, but you may find it useful if you'd like to implement playback yourself.
Guess the Intro
===============
Guess the Intro is a less simple project that presents a game to the user - they have ten minutes to correctly guess as many tracks as possible. Each round presents four options and the user has twenty seconds to guess.
The project contains code for navigating playlists, folders and top lists to get the user's tracks, as well as creating and adding tracks to playlists.