entryToPlaylist(item, document) {
		const playlists = document.querySelectorAll('mlt>playlist[id^="playlist"]');
		const lastPlaylist = playlists.item(0);
		const lastID = (lastPlaylist === null) ? -1 : lastPlaylist.id.match(/playlist(\d+)/)[1];

		const newPlaylist = document.createElement('playlist');
		newPlaylist.id = 'playlist' + (Number(lastID) + 1);
		newPlaylist.innerHTML = item.outerHTML;

		const producers = document.getElementsByTagName('producer');
		const lastProducer = producers.item(producers.length - 1);
		lastProducer.parentElement.insertBefore(newPlaylist, lastProducer.nextSibling);
		return newPlaylist;
	}
Create playlist and put the item as entry into it

@param {Node} item
@param {Document} document
@return {HTMLElement} new playlist element