mopidy/pyspotify — pull request #76 by bok (2012-11-07 12:47:48+00:00)
Title: Split session creation and user connection

RFC - work in progress.

See #73 for motive.

To sum up:
- I created 2 new methods for user connection: `Session.connect` and `Session.reconnect`.
- Session creation is now a Session classmethod (`Session.create`) that takes any object exposing the attributes we need (`cache_location`, `application_key`, etc). For now, `SpotifySessionManager` works, but we might want to create a `spotify.Settings` class (maybe make `SpotifySessionManager` a subclass of this to maintain retro-compatibility?)