def callback(player, stream_data, early, user_param1, ...)
The 'eos' signal is emitted when a stream finishes, or in some cases, when it is about to finish (with @early set to True) to allow for a new track to be played immediately afterwards.
player : |
instance of RB.Player that is emitting the signal |
stream_data : |
the data associated with the stream that finished |
early : |
if True, the EOS notification should only be used for track changes. |
user_param1 : |
first user parameter (if any) specified with the connect() method |
... : |
additional user parameters (if any) |