Expand description
Manual upload entry point.
Opens a multi-file picker, hashes each selection on a blocking worker, and
enqueues a FileTask on the shared QueueManager. The Upload header-bar
button in the library window invokes pick_and_upload; the same flow is
used for both library and album scopes โ the caller resolves the album.
Functionsยง
- build_
file_ ๐task - Build a
FileTaskfor a single path, computing checksum and resolving sidecar. - pick_
and_ upload - Open the OS file picker and enqueue every chosen file for upload.
- spawn_
enqueue ๐ - spawn_
enqueue_ ๐with_ callback - Enqueue files for upload and invoke
on_complete(queued, skipped)on the main context when all files have been hashed and enqueued.