hook for recording play
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
BEGIN {
|
||||
BEGIN {
|
||||
OFS="\t"
|
||||
local_artists[0] = 0
|
||||
delete local_artists[0]
|
||||
@@ -8,14 +8,13 @@ BEGIN {
|
||||
close(file_local_artists)
|
||||
}
|
||||
}
|
||||
{
|
||||
{
|
||||
gsub("&", "\\\\&")
|
||||
name = $2 == "Group" ? format_group : format_person
|
||||
if (local_artists[$1])
|
||||
name = format_local name
|
||||
l = local_artists[$1] ? format_local : ""
|
||||
if ($4)
|
||||
name = name " " format_disambiguation
|
||||
sub("<<disambiguation>>", $4, name)
|
||||
sub("<<name>>", $3, name)
|
||||
print name, $1
|
||||
print l, name, $1
|
||||
}
|
||||
|
Reference in New Issue
Block a user