Find a song and the albums it is on
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
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
?
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
?
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
Settings
Configurable at install. Defaults shown — change them anytime in Recued.
song
setting
=
artist
setting
=
musicbrainz
setting
=
Trust & control
What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.