player and db integration