try {
IJitcaITunesController iTunes = new JitcaiTunesController(true);
UserLibrary library = iTunes.getLibrary();
PlaylistFolder folder = library.createPlaylistFolder("Demo_Folder");
UserPlaylist playlist = folder.createPlaylist("Demo_Playlist");
playlist.addTrack(iTunes.getPlayerController().currentTrack());
iTunes.close();