list_releases: only return ids for local parts, no paths

This commit is contained in:
2025-08-23 13:06:40 +02:00
parent deaeb23a92
commit be23ea461e
2 changed files with 5 additions and 4 deletions

View File

@@ -330,8 +330,9 @@ if [ "${1:-}" = "--internal-list-local-releasegroups" ]; then
fi
if [ "${1:-}" = "--internal-list-local-releases" ]; then
while IFS= read -r rid; do
mb_release "$rid" | $JQ -r '[
list_releases |
while IFS= read -r rid; do
mb_release "$rid" | $JQ -r '[
.id,
.status,
.date,
@@ -343,7 +344,7 @@ if [ "${1:-}" = "--internal-list-local-releases" ]; then
.title,
(."artist-credit" | map(([.name, .joinphrase]|join(""))) | join(""))
] | join("\t")'
done <"$LOCALDATA_RELEASES" |
done |
awk \
-F "\t" \
-v release_official="$FORMAT_STATUS_OFFICIAL" \