Removed unnecessary open and close functions from player