marcus604 / LastFMDuplicateDeleter

GNU General Public License v3.0
24 stars 1 forks source link

Deletion interrupted mid-way #30

Open Bearmancer opened 1 week ago

Bearmancer commented 1 week ago

I was letting the script run when it crashed midway:

2024-11-12 04:50:04,452 - __main__ - INFO - Found duplicate on page 881 - 1569966121: Charles Villiers Stanford - Piano Concerto No. 3 in E-Flat Major, Op. 171 (Arr. G. Bush): I. Allegro moderato
2024-11-12 04:50:25,124 - __main__ - ERROR - Generic Error: Message: element not interactable
  (Session info: chrome=130.0.6723.117)
Stacktrace:
        GetHandleVerifier [0x00007FF6FB1438A5+3004357]
        (No symbol) [0x00007FF6FADD9970]
        (No symbol) [0x00007FF6FAC85659]
        (No symbol) [0x00007FF6FACD702F]
        (No symbol) [0x00007FF6FACC996E]
        (No symbol) [0x00007FF6FACFBBDA]
        (No symbol) [0x00007FF6FACC92A6]
        (No symbol) [0x00007FF6FACFBDF0]
        (No symbol) [0x00007FF6FAD1BA4C]
        (No symbol) [0x00007FF6FACFB983]
        (No symbol) [0x00007FF6FACC7628]
        (No symbol) [0x00007FF6FACC8791]
        GetHandleVerifier [0x00007FF6FB16A00D+3161901]
        GetHandleVerifier [0x00007FF6FB1BE060+3506048]
        GetHandleVerifier [0x00007FF6FB1B400D+3465005]
        GetHandleVerifier [0x00007FF6FAF30EEB+830987]
        (No symbol) [0x00007FF6FADE467F]
        (No symbol) [0x00007FF6FADE09D4]
        (No symbol) [0x00007FF6FADE0B6D]
        (No symbol) [0x00007FF6FADD0149]
        BaseThreadInitThunk [0x00007FFED1B17374+20]
        RtlUserThreadStart [0x00007FFED1FBCC91+33]

2024-11-12 04:50:25,124 - __main__ - INFO - Found 177 duplicate scrobbles

My current setting is set to:

TIME_THRESHOLD = "86340"
DELETE_MODE = "true"
SCAN_FROM_PAGE = 0
DEBUG = "true"

Chrome Version: Version 130.0.6723.117 (Official Build) (64-bit) Chrome for Testing Version: 130.0.6723.116

Bearmancer commented 1 week ago

Assuming the API rate limiting is the issue then what should I set the page number as? This is where it got cancelled last time:

2024-11-12 06:11:33,285 - __main__ - INFO - Checking page 570 - 36.95% - ETA 92.24 minutes
2024-11-12 06:11:34,306 - __main__ - DEBUG - Comparing 1623083609: Elton John - Emily : 1623083892: Elton John - On Dark Street

Do I set the SCAN_FROM_PAGE to 570 or do I subtract x from the total number of pages to have 570 left?