renamed awk params

This commit is contained in:
2025-09-11 22:22:07 +02:00
parent 79df83d1b1
commit d060a30c45
2 changed files with 12 additions and 12 deletions

View File

@@ -3,16 +3,16 @@
# parameter file_local_releases: This is an optional parameter with the
# path to a file with a MusicBrainz
# release ID per line.
# parameter release_format: Format for the release with the
# parameter format_release: Format for the release with the
# placeholders <<status>>, <<tracks>>,
# <<media>>, <<year>>, <<country>>, and
# <<label>>.
# parameter release_format_title_artist: Format to specify title and artist,
# parameter format_release_title_artist: Format to specify title and artist,
# with the placeholders <<title>> and
# <<artist>>.
# parameter release_format_title: Format to specify the release title
# parameter format_release_title: Format to specify the release title
# with a placeholder <<title>>.
# parameter release_format_artist: Format to specify the release artist
# parameter format_release_artist: Format to specify the release artist
# with a placeholder <<artist>>.
# parameter format_local: String to indicate that the track is
# locally available.
@@ -84,13 +84,13 @@ BEGIN {
case "Cancelled": line_status = release_cancelled; break
default: line_status = ""
}
line = release_format
line = format_release
if (artist != rg_artist && title != rg_title)
line = line "\t" release_format_title_artist
line = line "\t" format_release_title_artist
else if (artist != rg_artist && title == rg_title)
line = line "\t" release_format_artist
line = line "\t" format_release_artist
else if (artist == rg_artist && title != rg_title)
line = line "\t" release_format_title
line = line "\t" format_release_title
else
line = line "\t"