[importers] Add flag to reimport already processed files
This commit is contained in:
42
PROJECT.org
42
PROJECT.org
@ -93,7 +93,7 @@ fetching and simple saving.
|
||||
:LOGBOOK:
|
||||
CLOCK: [2025-07-09 Wed 09:55]--[2025-07-09 Wed 10:15] => 0:20
|
||||
:END:
|
||||
* Backlog [26/42] :vrobbler:project:personal:
|
||||
* Backlog [28/44] :vrobbler:project:personal:
|
||||
** TODO [#C] Add sentiment parsing for Scrobbles with notes :vrobbler:project:scrobbles:sentiment:
|
||||
:PROPERTIES:
|
||||
:ID: 37781d6a-f3b0-48b2-bf98-33c2c791cf85
|
||||
@ -496,7 +496,45 @@ or at least make it optional, and then require a M2M between Track and Artist.
|
||||
Then this one would be a Track by both `Matt Sweeney` and `Bonnie "Prince"
|
||||
Billy`
|
||||
|
||||
** TODO [#A] Allow special parameter to re-import already processed GPX files :imports:gpx:
|
||||
** TODO [#A] Move imported eBird CSV files to processed/ directory on WebDAV :webdav:ebird:importers:
|
||||
:PROPERTIES:
|
||||
:ID: 445e1253-d353-4b55-b1d8-39d0a0dcdd34
|
||||
:END:
|
||||
- File: ~vrobbler/apps/scrobbles/importers/webdav.py~ (line 439)
|
||||
- Same pattern as the GPX importer: after importing a =.csv= file from
|
||||
WebDAV, move it to =var/ebird/processed/= with a timestamp appended.
|
||||
|
||||
** TODO [#A] Move imported Scale CSV files to processed/ directory on WebDAV :webdav:scale:importers:
|
||||
:PROPERTIES:
|
||||
:ID: 1a0de363-d1ea-466e-9966-e24941a6180b
|
||||
:END:
|
||||
- File: ~vrobbler/apps/scrobbles/importers/webdav.py~ (line 496)
|
||||
- Same pattern as the GPX importer: after importing a =.csv= file from
|
||||
WebDAV, move it to =var/scale/processed/= with a timestamp appended.
|
||||
|
||||
** DONE [#A] Allow special parameter to re-import already processed GPX files :imports:gpx:
|
||||
:PROPERTIES:
|
||||
:ID: 166c0809-c11a-4d02-8071-7a69dcb36e64
|
||||
:END:
|
||||
|
||||
*** Description
|
||||
|
||||
Now that we stash imported GPX files in the processed/ subdirectory on import,
|
||||
it would be nice to have a flag like --include-processed on the webdav importer
|
||||
that would import files both in the root of gpx/ and also in the processed
|
||||
directory. This would aide testing imports in staging quickly without constantly
|
||||
moving files back and forth.
|
||||
|
||||
** DONE [#A] Move imported GPX files to processed/ directory on WebDAV :webdav:gpx:importers:
|
||||
:PROPERTIES:
|
||||
:ID: db2b02fc-817c-4c39-bd51-13f9b77c7888
|
||||
:END:
|
||||
- File: ~vrobbler/apps/scrobbles/importers/webdav.py~ (line 198)
|
||||
- After importing a GPX/FIT file from WebDAV, move it to a =processed/=
|
||||
subdirectory with a timestamp appended. This eliminates the DB lookup for
|
||||
already-imported filenames — any file present in the top-level directory
|
||||
is new. Also makes manual re-imports easy (just move a file back).
|
||||
|
||||
** DONE [#A] Add CSS Grid calendar view for scrobbles :vrobbler:personal:project:templates:feature:
|
||||
:PROPERTIES:
|
||||
:ID: be915acf-d803-466a-8770-823819ebf2a9
|
||||
|
||||
Reference in New Issue
Block a user