function setRepeatPlaylist(repeat, playlist) {
    /*
      Set the playlist repeat to be toggled.
    */
    _config2.default.playlists[playlist].repeat = repeat;
  }
Sets the state of the repeat for a playlist.

@access public
@param {boolean} repeat - A boolean representing whether the repeat should be on or off
@param {string} playlist - The key of the playlist for repeating