Skip to content

feat: choose which files of a torrent to download - #31

Merged
sachesi merged 1 commit into
mainfrom
feat/file-selection
Oct 26, 2026
Merged

sachesi merged 1 commit into
mainfrom
feat/file-selection

Conversation

@sachesi

@sachesi sachesi commented Oct 26, 2026

Copy link
Copy Markdown
Owner

The add dialog lists the files of a multi-file torrent with a check beside each, and only the checked ones are downloaded. The torrent's details have the same checks on the Files page, where a change applies two seconds after the last click. A right click, a long press or the menu key opens Select All and Deselect All on either list. With nothing checked, Add stays disabled and the Files page shows a banner instead of applying it.

Unchecking a file never removes data: a file that was already on disk stays there, and only empty placeholders the current run created are left out of the download. Checking a file in again on a running torrent restarts it, and a completed one starts downloading again.

The selection is kept per torrent in a new nullable selected_files column, so the database moves to schema 5; NULL means every file, as before. The Ukrainian catalogue has the new strings.

@sachesi
sachesi merged commit 600d104 into main Oct 26, 2026
6 checks passed
@sachesi
sachesi deleted the feat/file-selection branch October 26, 2026 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant