appendPlaylistToMultitrack(multitrack, playlist, overlapping, transition, document) {
		const duration = timeManager.subDuration(this.getDuration(multitrack, document).time, overlapping);
		if (playlist.getElementsByTagName('blank').length > 0)
			playlist.childNodes.item(0).remove();
		playlist.innerHTML = `<blank length="${duration}" />` + playlist.innerHTML;
		multitrack.innerHTML += `<track producer="${playlist.id}" />`;

		const transitionElement = document.createElement('transition');
		transitionElement.setAttribute('mlt_service', transition);
		transitionElement.setAttribute('in', duration);
		transitionElement.setAttribute('out', timeManager.addDuration(duration, overlapping));
		transitionElement.setAttribute('a_track', (multitrack.childElementCount - 2).toString());
		transitionElement.setAttribute('b_track', (multitrack.childElementCount - 1).toString());
		multitrack.parentElement.append(transitionElement);
	}
Add playlist to multitrack with transition

@param {Element} multitrack
@param {Element} playlist
@param {String} overlapping
@param {String} transition
@param {Document} document