sessions / 22d8b0787e964d953fd288b6acb21c900afda202

/home/powellc/src/code.unbl.ink/secstate/vrobbler

This commit has no recorded session.

diff

ignore whitespace

commit 22d8b0787e964d953fd288b6acb21c900afda202Author: Colin Powell <colin@unbl.ink>Date:   Fri Jun 19 14:12:09 2026 -0400    [importers] Allow starting full import for new userdiff --git a/PROJECT.org b/PROJECT.orgindex 31da258..6e968cf 100644--- a/PROJECT.org+++ b/PROJECT.org@@ -88,7 +88,7 @@ fetching and simple saving. *** Metadata sources **** Scraper -* Backlog [0/22] :vrobbler:project:personal:+* Backlog [1/23] :vrobbler:project:personal: ** TODO [#C] Create small utility to clean up tracks scrobbled with wonky playback times :bug:music:scrobbles: :PROPERTIES: :ID:       702462cf-d54b-48c6-8a7c-78b8de751deb@@ -604,6 +604,10 @@ independent of the email flow it was originally creatdd for  ** TODO [#B] Is there way to create unique slugs for media instances :media_types: +** DONE [#A] Figure out why historical Lastfm imports don't work :importers:lastfm:music:+:PROPERTIES:+:ID:       71b18c1b-de96-6d93-20fa-de2ec0df1288+:END: * Version 55.5 [1/1] ** DONE [#B] Fix bug in lastfm import for new users :importers:lastfm:music: :PROPERTIES:diff --git a/vrobbler/apps/scrobbles/utils.py b/vrobbler/apps/scrobbles/utils.pyindex 11b2417..63dba69 100644--- a/vrobbler/apps/scrobbles/utils.py+++ b/vrobbler/apps/scrobbles/utils.py@@ -155,10 +155,10 @@ def import_lastfm_for_all_users(restart=False):         else:             logger.info(                 "No existing LastFM import for user %s, "-                "starting a monthly parse going back to 2002",+                "starting a full parse",                 user_id,             )-            continue+            last_processed = None          lfm_client = LastFM(user=get_user_model().objects.filter(id=user_id).first())