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
|
@ -135,6 +135,9 @@ func (s *service) prepareQbitOptions(action *domain.Action) (map[string]string,
|
|||
if action.SkipHashCheck {
|
||||
opts.SkipHashCheck = true
|
||||
}
|
||||
if action.FirstLastPiecePrio {
|
||||
opts.FirstLastPiecePrio = true
|
||||
}
|
||||
if action.ContentLayout != "" {
|
||||
if action.ContentLayout == domain.ActionContentLayoutSubfolderCreate {
|
||||
opts.ContentLayout = qbittorrent.ContentLayoutSubfolderCreate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue