Fix custom player function parameter length