class PlayerLogic {

	public ArtistEntity playArtist(int artistNumber) {
		if (this.search.getArtistSearchResults().size() > artistNumber) {
			if (this.suppressed) {
				this.postSuppressionAction = PostSuppressionAction.PLAY_COLLECTION;
				this.collectionUriToPlay = this.search.getArtistSearchResults().get(artistNumber).getUri();
			} else {
				this.spotifyAPICalls.playListFromUri(this.search.getArtistSearchResults().get(artistNumber).getUri());
			}
			return this.search.getArtistSearchResults().get(artistNumber);
		}
		this.logger.warn(ITME_NOT_FOUND);
		return null;
	}

}