'Snapshot the player.'

@soco_error
def snapshot(self, with_group=True):

    from soco.snapshot import Snapshot
    self._soco_snapshot = Snapshot(self._player)
    self._soco_snapshot.snapshot()
    if with_group:
        self._snapshot_group = self._player.group
        if self._coordinator:
            self._coordinator.snapshot(False)
    else:
        self._snapshot_group = None
