server.py: Fixed play/resume