Added logic to setPlaylistSpecifications method