'Set repeat mode.
To repeat a single track, set both ``repeat`` and ``single``.
:class:`True`
The tracklist is played repeatedly.
:class:`False`
The tracklist is played once.'

def set_repeat(self, value):

    validation.check_boolean(value)
    if (self.get_repeat() != value):
        self._trigger_options_changed()
    return setattr(self, u'_repeat', value)
