Move playing state changes into player/ functions