feat: discogs description and bugfixes

This commit is contained in:
2025-07-23 12:11:24 +02:00
parent dcba30bf94
commit b7f45c613c
4 changed files with 31 additions and 8 deletions

View File

@@ -24,7 +24,7 @@ __put_artist_json() {
f="$artistdir/$2"
tmpf=$(mktemp)
cat >"$tmpf"
[ -s "$tmpf" ] && mv "$tmpf" "$f" || echo "{}" >"$f"
[ -s "$tmpf" ] && mv "$tmpf" "$f" || printf "{}" >"$f"
}
# Returns the cached MusicBrainz data for the artist given by the MusicBrainz