Updated to reflect upstream API changes.
No longer require a player as an argument, but any string.