diff --git a/CHANGES.md b/CHANGES.md index 5ccf6d0..40d2f73 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -7,6 +7,8 @@ - listenbrainz: faster loading of missing loves metadata using the ListenBrainz API instead of MusicBrainz. Fallback to slower MusicBrainz query, if ListenBrainz does not provide the data. +- listenbrainz: fixed issue were timestamp was not updated properly if + duplicate listens where detected during import. - spotify-history: it is now possible to specify the path directly to the `my_spotify_data_extended.zip` ZIP file as downloaded from Spotify. - spotify-history: the parameter to the export archive path has been renamed to diff --git a/internal/backends/listenbrainz/listenbrainz.go b/internal/backends/listenbrainz/listenbrainz.go index 9e1c9f3..dcc28fa 100644 --- a/internal/backends/listenbrainz/listenbrainz.go +++ b/internal/backends/listenbrainz/listenbrainz.go @@ -165,6 +165,7 @@ func (b *ListenBrainzApiBackend) ImportListens(ctx context.Context, export model msg := i18n.Tr("Ignored duplicate listen %v: \"%v\" by %v (%v)", l.ListenedAt, l.TrackName, l.ArtistName(), l.RecordingMBID) importResult.Log(models.Info, msg) + importResult.UpdateTimestamp(l.ListenedAt) continue } }