function changeSongPlaylist(playlist, song, index) {
    var direct = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;

    /*
      Prepare the song change.
    */
    prepareSongChange(song);

    /*
      Change the song.
    */
    _config2.default.audio.src = song.url;
    _config2.default.active_metadata = song;
    _config2.default.active_album = song.album;
    _config2.default.active_index = null;

    _config2.default.playlists[playlist].active_index = parseInt(index);

    /*
      Set new information now that the song has changed.
    */
    afterSongChange(direct);
  }
Handles a song change in the playlist

@access private
@prop {string} playlist - The playlist we are changing the song on.
@prop {object} song     - The song we are changing to in the playlist.
@prop {number} index    - The inded of the song we are changing to in the playlist.
@prop {boolean} direct  - Determines if it was a direct click on the song. We
then don't care if shuffle is on or not