renamed awk params
This commit is contained in:
@@ -3,16 +3,16 @@
|
|||||||
# parameter file_local_releases: This is an optional parameter with the
|
# parameter file_local_releases: This is an optional parameter with the
|
||||||
# path to a file with a MusicBrainz
|
# path to a file with a MusicBrainz
|
||||||
# release ID per line.
|
# 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>>,
|
# placeholders <<status>>, <<tracks>>,
|
||||||
# <<media>>, <<year>>, <<country>>, and
|
# <<media>>, <<year>>, <<country>>, and
|
||||||
# <<label>>.
|
# <<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
|
# with the placeholders <<title>> and
|
||||||
# <<artist>>.
|
# <<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>>.
|
# 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>>.
|
# with a placeholder <<artist>>.
|
||||||
# parameter format_local: String to indicate that the track is
|
# parameter format_local: String to indicate that the track is
|
||||||
# locally available.
|
# locally available.
|
||||||
@@ -84,13 +84,13 @@ BEGIN {
|
|||||||
case "Cancelled": line_status = release_cancelled; break
|
case "Cancelled": line_status = release_cancelled; break
|
||||||
default: line_status = ""
|
default: line_status = ""
|
||||||
}
|
}
|
||||||
line = release_format
|
line = format_release
|
||||||
if (artist != rg_artist && title != rg_title)
|
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)
|
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)
|
else if (artist == rg_artist && title != rg_title)
|
||||||
line = line "\t" release_format_title
|
line = line "\t" format_release_title
|
||||||
else
|
else
|
||||||
line = line "\t"
|
line = line "\t"
|
||||||
|
|
||||||
|
@@ -80,10 +80,10 @@ list_releases() {
|
|||||||
-v release_withdrawn="$FORMAT_STATUS_WITHDRAWN" \
|
-v release_withdrawn="$FORMAT_STATUS_WITHDRAWN" \
|
||||||
-v release_expunged="$FORMAT_STATUS_EXPUNGED" \
|
-v release_expunged="$FORMAT_STATUS_EXPUNGED" \
|
||||||
-v release_cancelled="$FORMAT_STATUS_CANCELLED" \
|
-v release_cancelled="$FORMAT_STATUS_CANCELLED" \
|
||||||
-v release_format="$RV_FORMAT" \
|
-v format_release="$RV_FORMAT" \
|
||||||
-v release_format_title_artist="$RV_TITLE_ARTIST" \
|
-v format_release_title_artist="$RV_TITLE_ARTIST" \
|
||||||
-v release_format_title="$RV_TITLE" \
|
-v format_release_title="$RV_TITLE" \
|
||||||
-v release_format_artist="$RV_ARTIST" \
|
-v format_release_artist="$RV_ARTIST" \
|
||||||
-v rg_artist="$artist" \
|
-v rg_artist="$artist" \
|
||||||
-v rg_title="$title" \
|
-v rg_title="$title" \
|
||||||
-v rgid="$1" \
|
-v rgid="$1" \
|
||||||
|
Reference in New Issue
Block a user