readded wrongly removed seek method

This commit is contained in:
Johannes Knutsen 2010-08-14 02:37:02 +02:00
parent b24d9a70d0
commit ae48c2c4a5

View File

@ -43,7 +43,9 @@ class LibspotifyPlaybackController(BasePlaybackController):
return self._set_output_state('PLAYING')
def _seek(self, time_position):
pass # TODO
self._set_output_state('READY')
result = self.backend.spotify.session.seek(time_position)
self._set_output_state('PLAYING')
def _stop(self):
result = self._set_output_state('READY')