[music] Fix timestamp setting in lastfm importer

This commit is contained in:
2024-11-05 16:41:12 -05:00
parent 22c07bdb82
commit cdb3c29844

View File

@ -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,