imprv: code ref

This commit is contained in:
2025-08-28 10:30:57 +02:00
parent 34628fc9b0
commit 28f6dc67ba
2 changed files with 44 additions and 11 deletions

View File

@@ -539,17 +539,7 @@ while true; do
"$MODE_SELECT_ARTIST")
sel=$(
echo "$args" |
$JQ -r 'map([.artist.id, .artist.type, .name] | join("\t")) | join("\n")' |
awk \
-F "\t" \
-v file_local_artists="${LOCALDATA_ARTISTS:-}" \
-v format_person="$AV_PERSON" \
-v format_group="$AV_GROUP" \
-v format_disambiguation="$AV_DISAMBIGUATION" \
-v format_local="$FORMAT_LOCAL" \
"$AWK_ARTISTS" |
column -t -s "$(printf '\t')" |
sed 's| \+\([0-9a-f-]\+\)$|\t\1|' |
list_artists_from_json |
$FZF \
--bind="$KEYS_HALFPAGE_DOWN,$KEYS_HALFPAGE_UP,\
$KEYS_BROWSE,\