artist select, ctrl-h ctrl-l keys, bugfixes
This commit is contained in:
@@ -7,5 +7,5 @@ $2 != "Group" { name = format_person }
|
||||
name = name " " format_disambiguation
|
||||
sub("<<disambiguation>>", $4, name)
|
||||
sub("<<name>>", $3, name)
|
||||
print $1, name
|
||||
print name, $1
|
||||
}
|
||||
|
@@ -1,8 +1,8 @@
|
||||
BEGIN { OFS="\t" }
|
||||
|
||||
{
|
||||
gsub("&", "\\\\&")
|
||||
id = $1
|
||||
print ">>"id"<<" >> "/tmp/foo"
|
||||
status = $2
|
||||
year = substr($3, 1, 4) + 0
|
||||
year = year == 0 ? "" : year
|
||||
@@ -28,15 +28,24 @@ BEGIN { OFS="\t" }
|
||||
line = line "\t" release_format_title_artist
|
||||
else if (artist != rg_artist && title == rg_title)
|
||||
line = line "\t" release_format_artist
|
||||
else if (artist != rg_artist && title == rg_title)
|
||||
else if (artist == rg_artist && title != rg_title)
|
||||
line = line "\t" release_format_title
|
||||
else
|
||||
line = line "\t"
|
||||
if (artist != rg_artist)
|
||||
print "artist not rg_artist: "artist"!="rg_artist >> "/tmp/foo"
|
||||
if (title != rg_title)
|
||||
print "title not rg_title: "title"!="rg_title >> "/tmp/foo"
|
||||
|
||||
sub("<<status>>", line_status, line)
|
||||
sub("<<year>>", year, line)
|
||||
sub("<<tracks>>", trackcnt, line)
|
||||
sub("<<media>>", media, line)
|
||||
gsub("&", "\\\\&", label)
|
||||
sub("<<label>>", label, line)
|
||||
gsub("&", "\\\\&", titel)
|
||||
sub("<<title>>", title, line)
|
||||
gsub("&", "\\\\&", artist)
|
||||
sub("<<artist>>", artist, line)
|
||||
sub("<<country>>", country, line)
|
||||
sortk = year ? year : 0
|
||||
|
Reference in New Issue
Block a user