Skip to content

Commit

Permalink
Merge 339c34a into 938d5d2
Browse files Browse the repository at this point in the history
  • Loading branch information
trygveaa committed Jun 25, 2014
2 parents 938d5d2 + 339c34a commit 449bd1e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mopidy_spotify/playback.py
Expand Up @@ -72,6 +72,10 @@ def play(self, track):
logger.info('Playback of %s failed: %s', track.uri, e)
return False

def resume(self):
self.backend.spotify.session.play(1)
return super(SpotifyPlaybackProvider, self).resume()

def stop(self):
self.backend.spotify.session.play(0)
return super(SpotifyPlaybackProvider, self).stop()
Expand Down

0 comments on commit 449bd1e

Please sign in to comment.