private void skip(int items) {

		if (playlist.size() == 0) {
			return;
		}

		boolean playAllowed = isPlaying();

		if (shuffle) {
			playingIndex = RANDOM.nextInt(playlist.size());
		}

		else {

			playingIndex += items;

			if (playingIndex > playlist.size() - 1) {
				if (repeat) {
					playingIndex = 0;
				} else {
					playingIndex = playlist.size() - 1;
					playAllowed = false;
				}
			} else if (playingIndex < 0) {
				if (repeat) {
					playingIndex = playlist.size() - 1;
				} else {
					playingIndex = 0;
					playAllowed = false;
				}
			}
		}

		stop();

		if (playAllowed) {
			play();
		}
	}