towards single fzf process

This commit is contained in:
2025-08-27 15:16:39 +02:00
parent f4594ca492
commit 9aa1413a51
6 changed files with 499 additions and 284 deletions

View File

@@ -194,7 +194,7 @@ load_local() {
column -t -s "$(printf '\t')" |
sed 's| \+\([0-9a-f-]\+\)$|\t\1|' >"$LOCALDATA_RELEASEGROUPS_VIEW"
info "Precomputing release view"
list_releases |
cut -d "$(printf '\t')" -f 1 "$LOCALDATA_RELEASES" |
while IFS= read -r rid; do
mb_release "$rid" | $JQ -r '[
.id,
@@ -230,18 +230,3 @@ load_local() {
column -t -s "$(printf '\t')" |
sed 's| \+\([0-9a-f-]\+\):\(.*$\)$|\t\1\t\2|' >"$LOCALDATA_RELEASES_VIEW"
}
# List all releases
list_releases() {
cut -d "$(printf '\t')" -f 1 "$LOCALDATA_RELEASES"
}
# List all release groups
list_releasegroups() {
cat "$LOCALDATA_RELEASEGROUPS"
}
# List all album artists
list_artists() {
cat "$LOCALDATA_ARTISTS"
}