mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
feat(actions): qBittorrent add first-last piece priority (#1517)
* feat(actions): qBittorrent add first/last piece priority * removed accidental change * fix: scanrow order * fix: spaces vs tabs * bump(deps): upgrade go-qbittorrent to v1.9.0 * fix(test): add missing colon * fix(database): sqlite remove duplicate
This commit is contained in:
parent
7b9993b296
commit
56ef3a5402
11 changed files with 36 additions and 7 deletions
|
@ -51,6 +51,7 @@ export function Actions() {
|
|||
save_path: "",
|
||||
paused: false,
|
||||
ignore_rules: false,
|
||||
first_last_piece_prio: false,
|
||||
skip_hash_check: false,
|
||||
content_layout: "" || undefined,
|
||||
priority: "" || undefined,
|
||||
|
|
|
@ -109,6 +109,11 @@ export const QBittorrent = ({ idx, action, clients }: ClientActionProps) => (
|
|||
label="Skip hash check"
|
||||
description="Add torrent and skip hash check"
|
||||
/>
|
||||
<Input.SwitchGroup
|
||||
name={`actions.${idx}.first_last_piece_prio`}
|
||||
label="Download first and last pieces first"
|
||||
description="Add torrent and download first and last pieces first"
|
||||
/>
|
||||
</FilterSection.HalfRow>
|
||||
<FilterSection.HalfRow>
|
||||
<Input.Select
|
||||
|
|
3
web/src/types/Filter.d.ts
vendored
3
web/src/types/Filter.d.ts
vendored
|
@ -92,7 +92,8 @@ interface Action {
|
|||
save_path?: string;
|
||||
paused?: boolean;
|
||||
ignore_rules?: boolean;
|
||||
skip_hash_check: boolean;
|
||||
first_last_piece_prio?: boolean;
|
||||
skip_hash_check?: boolean;
|
||||
content_layout?: ActionContentLayout;
|
||||
priority?: ActionPriorityLayout;
|
||||
limit_upload_speed?: number;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue