Skip to main content

Module album_link

Module album_link 

Source
Expand description

Album-folder linking, sync dialog, and link/unlink actions.

Presents a dialog to associate a local watch folder with a remote Immich album for bidirectional synchronization. Handles link state persistence and triggers the initial diff when a new link is created.

Structsยง

SyncChoices ๐Ÿ”’
Which directions the user chose to apply.

Functionsยง

build_sync_dialog ๐Ÿ”’
Alert with one checkbox per sync direction that has work: upload, download, album trash, local trash (in that order).
connect_album_link_row ๐Ÿ”’
direction_check ๐Ÿ”’
Checkbox for one sync direction, pre-checked and shown only when it has work to do.
execute_selected_downloads ๐Ÿ”’
execute_selected_local_deletes ๐Ÿ”’
execute_selected_remote_deletes ๐Ÿ”’
execute_selected_uploads ๐Ÿ”’
execute_sync_selections ๐Ÿ”’
filtered_diff ๐Ÿ”’
The diff restricted to the chosen directions.
handle_album_link_click ๐Ÿ”’
handle_album_sync_click ๐Ÿ”’
in_sync_message ๐Ÿ”’
link_album_to_path ๐Ÿ”’
present_sync_dialog ๐Ÿ”’
refresh_album_link_row ๐Ÿ”’
show_in_sync ๐Ÿ”’
unlink_album ๐Ÿ”’
unmatched_note ๐Ÿ”’