Recued
Menu
← Back to recipes

Find a song and the albums it is on

by recued-core v2 37 views

Use “Find a song and the albums it is on” in Recued. Search MusicBrainz for a song by an artist, and show the candidates side by side with the album search that actually answers "which album".

How it works 24 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (24 steps)
■ artist_name trim
Trim whitespace from setting artist
■ song_name trim
Trim whitespace from setting song
■ artist_required template
Generate text from a template
fail: step.artist_name is_empty
■ song_required template
Generate text from a template
fail: step.song_name is_empty
■ rec_query template
Generate text from a template
◆ recordings_raw recued-core.musicbrainz.recording.search
Search recording on musicbrainz
■ defaults defaults
Apply defaults
■ found count
Count items in recordings
■ any_required template
Generate text from a template
fail: step.found equal 0
■ rows map
Extract from each item
■ scores pluck
Extract score from each item
■ distinct_scores unique
Remove duplicates from
■ score_spread count
Count items in distinct scores
■ top_score default
Apply default
■ album_query template
Generate text from a template
◆ albums_raw recued-core.musicbrainz.release_group.search
Search release group on musicbrainz
■ albums default
Apply default
■ album_rows map
Extract from each item
■ album_count count
Count items in album rows
■ card to_summary
Format results as a summary card
■ rec_table to_table
Format results as a data table
■ album_table to_table
Format results as a data table
skip: step.album_count equal 0
■ tie_note template
Generate text from a template
skip: step.score_spread greater 1
■ entity_note template
Generate text from a template
▼
Output
summary card
table rec_table
text tie_note
table album_table
text entity_note
Settings 2 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

song setting =
artist setting =

Uses (2 operations)

Pack operation Search recording on musicbrainz recued-core.musicbrainz.recording.search
Pack operation Search release group on musicbrainz recued-core.musicbrainz.release_group.search

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Permissions it requires

Read your Musicbrainz connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

About

Tags

musicbrainz musicbrainzmusicdiscographymetadatacatalogueread-onlypack:musicbrainz

Details

24 steps 2 configurable settings recipe_id: find-recording-musicbrainz