Return number of Spotify frames we consumed, as expected by pyspotify/libspotify

This commit is contained in:
Stein Magnus Jodal 2011-07-04 22:23:55 +02:00
parent 2b5f942f44
commit a1a19374b2

View File

@ -118,6 +118,7 @@ class SpotifySessionManager(BaseThread, PyspotifySessionManager):
'channels': channels,
}
self.gstreamer.emit_data(capabilites, bytes(frames))
return num_frames
def play_token_lost(self, session):
"""Callback used by pyspotify"""