make it possible to pass in metadata to the player