mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-16 10:09:28 +02:00
Dump: Print recording ID
This commit is contained in:
parent
aa453e4dc2
commit
6dd67aedcb
1 changed files with 4 additions and 2 deletions
|
@ -46,7 +46,8 @@ func (b DumpBackend) ImportListens(listens []models.Listen, oldestTimestamp time
|
|||
result.LastTimestamp = listen.ListenedAt
|
||||
}
|
||||
result.ImportCount += 1
|
||||
fmt.Printf("🎶 %v: \"%s\" by %s\n", listen.ListenedAt, listen.TrackName, listen.ArtistName())
|
||||
fmt.Printf("🎶 %v: \"%v\" by %v (%v)\n",
|
||||
listen.ListenedAt, listen.TrackName, listen.ArtistName(), listen.RecordingMbid)
|
||||
}
|
||||
return result, nil
|
||||
}
|
||||
|
@ -62,7 +63,8 @@ func (b DumpBackend) ImportLoves(loves []models.Love, oldestTimestamp time.Time)
|
|||
result.LastTimestamp = love.Created
|
||||
}
|
||||
result.ImportCount += 1
|
||||
fmt.Printf("❤️ %v: \"%s\" by %s\n", love.Created, love.TrackName, love.ArtistName())
|
||||
fmt.Printf("❤️ %v: \"%v\" by %v (%v)\n",
|
||||
love.Created, love.TrackName, love.ArtistName(), love.RecordingMbid)
|
||||
}
|
||||
return result, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue