code: def enable_repeat(self, value=None):
          
          if value is None:
              value = not self.repeated
          spotifyconnect.Error.maybe_raise(lib.SpPlaybackEnableRepeat(value))
docs: Enable repeat mode