Return number of Spotify frames we consumed, as expected by pyspotify/libspotify
This commit is contained in:
parent
2b5f942f44
commit
a1a19374b2
@ -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"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user