code: def state(self, value):
          
          self._state = value
          self.state_changed.emit(value)
docs: set player state, emit state changed signal
  
          outer object should not set state directly,
          use ``pause`` / ``resume`` / ``stop`` / ``play`` method instead.