onAddQueueItem
Called when a media controller wants to add a queue item with the given description at the end of the play queue.
Parameters
player
The THEOplayer instance currently attached to the connector.
description
Metadata for a media item suitable for display.
Called when a media controller wants to add a queue item with the given description at the specified position in the play queue
Parameters
player
The THEOplayer instance currently attached to the connector.
description
Metadata for a media item suitable for display.
index
The index at which the created queue item is to be inserted.