From cdb3c298445743726c23ee0f4191015c532789ed Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Tue, 5 Nov 2024 16:41:12 -0500 Subject: [PATCH] [music] Fix timestamp setting in lastfm importer --- vrobbler/apps/music/lastfm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vrobbler/apps/music/lastfm.py b/vrobbler/apps/music/lastfm.py index 68e8dde..99df602 100644 --- a/vrobbler/apps/music/lastfm.py +++ b/vrobbler/apps/music/lastfm.py @@ -62,9 +62,10 @@ class LastFM: if self.vrobbler_user.profile: timezone = self.vrobbler_user.profile.timezone + timestamp = lfm_scrobble.get("timestamp") new_scrobble = Scrobble( user=self.vrobbler_user, - timestamp=lfm_scrobble.get("timestamp"), + timestamp=timestamp, source=source, track=track, timezone=timezone,