class PlayerLogic {

	public PlaylistEntity play() {
		List<PlaylistEntity> playLists;
		playLists = this.search.searchFeaturedPlaylists(5);
		if (!playLists.isEmpty()) {
			if (this.suppressed) {
				this.collectionUriToPlay = playLists.get(0).getUri();
				this.postSuppressionAction = PostSuppressionAction.PLAY_COLLECTION;
			} else {
				this.spotifyAPICalls.playListFromUri(playLists.get(0).getUri());
			}
			return playLists.get(0);
		}
		this.logger.warn("no featured playlist found");
		return null;
	}

}