Burgestrand/Hallon — Issue #45: Add Session#login!
Author: Burgestrand
Created: 2011-10-11 11:28:34+00:00
State: open
Labels: Feature Request

It would do the same thing as Session#login, except it’d be blocking and wait for an error or successful login.

Might also be worth it adding a Session#relogin!, too, as it’s pretty much the same functionality.

The reasoning behind this change is that you pretty much *always* want to log in to Spotify when using libspotify. It would be silly and tedious to copy-paste four lines of code just to log in if you need no special functionality.