def play_next(self, stream_url=None, offset=0, opaque_token=None):
        """Replace all streams in the queue but does not impact the currently playing stream."""

        directive = self._play_directive('REPLACE_ENQUEUED')
        directive['audioItem'] = self._audio_item(stream_url=stream_url, offset=offset, opaque_token=opaque_token)
        self._response['directives'].append(directive)
        return self
def play_next ( self , stream_url = None , offset = 0 , opaque_token = None ) : directive = self . _play_directive ( 'REPLACE_ENQUEUED' ) directive [ 'audioItem' ] = self . _audio_item ( stream_url = stream_url , offset = offset , opaque_token = opaque_token ) self . _response [ 'directives' ] . append ( directive ) return self
Replace all streams in the queue but does not impact the currently playing stream.