I've been trying to import a part of my last.fm history, but since some times I get rate-limited I ctrl-c and start again after a few hours. I did this a couple of times but I just noticed that when it starts, the cli says [import 11:11:46] ✔ Resuming — 22 already imported (last: My My My! by Troye Sivan at 2018-01-26 18:02), 15,147 remaining, when it has actually already imported a few thousands.
Maybe the json file is weirdly shaped, but it's more than half a million lines long, I cannot attach it here.
I'm also wondering if starting a few times from the same song has actually duplicated some songs multiple times. I thing I'll find a way to delete the scrobbles I imported and start again when I know what's going on 😃
I'm also having this issue but am pulling from a CSV. The checkpoint remains the same as the first time I needed to ctrl-c out of the script, at #192, though I'm well into the thousands now.
As a workaround, I've been identifying the last imported date from my Rocksky profile and modifying the script to run with --from: 'that date' so it will stop using up connection attempts on duplicates.