hook for recording play

This commit is contained in:
2025-08-24 22:46:34 +02:00
parent f93b85b55e
commit a48a92ca58
6 changed files with 45 additions and 20 deletions

View File

@@ -1,4 +1,4 @@
BEGIN {
BEGIN {
OFS="\t"
local_releases[0] = 0
delete local_releases[0]
@@ -52,7 +52,6 @@ BEGIN {
sub("<<artist>>", artist, line)
sub("<<country>>", country, line)
sortk = year ? year : 0
if (local_releases[id])
line = format_local line
print sortk, line, id ":" local_releases[id]
l = local_releases[id] ? format_local : ""
print sortk, l, line, id ":" local_releases[id]
}