Fixed missing downloaders from the actual torrent options.
This commit is contained in:
parent
d172da80b5
commit
74b988effa
3 changed files with 98 additions and 92 deletions
|
|
@ -47,8 +47,9 @@
|
||||||
<div class="control select is-fullwidth">
|
<div class="control select is-fullwidth">
|
||||||
<select [(ngModel)]="downloadClient" (ngModelChange)="setFinishAction()">
|
<select [(ngModel)]="downloadClient" (ngModelChange)="setFinishAction()">
|
||||||
<option [ngValue]="0">Internal Downloader</option>
|
<option [ngValue]="0">Internal Downloader</option>
|
||||||
<option [ngValue]="1">Aria2c</option>
|
<option [ngValue]="1">Bezzad</option>
|
||||||
<option [ngValue]="2">Symlink Downloader</option>
|
<option [ngValue]="2">Aria2c</option>
|
||||||
|
<option [ngValue]="3">Symlink Downloader</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<p class="help">
|
<p class="help">
|
||||||
|
|
|
||||||
|
|
@ -188,104 +188,102 @@
|
||||||
<select [(ngModel)]="updateSettingsDownloadClient">
|
<select [(ngModel)]="updateSettingsDownloadClient">
|
||||||
<option [ngValue]="null"></option>
|
<option [ngValue]="null"></option>
|
||||||
<option [ngValue]="0">Internal Downloader</option>
|
<option [ngValue]="0">Internal Downloader</option>
|
||||||
<option [ngValue]="1">Aria2c</option>
|
<option [ngValue]="1">Bezzad</option>
|
||||||
<option [ngValue]="2">Symlink Downloader</option>
|
<option [ngValue]="2">Aria2c</option>
|
||||||
|
<option [ngValue]="3">Symlink Downloader</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<p class="help">
|
<p class="help">
|
||||||
Select which downloader is used to download this torrent from the debrid provider to your host.
|
Select which downloader is used to download this torrent from the debrid provider to your host.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label class="label">Post Download Action</label>
|
<label class="label">Post Download Action</label>
|
||||||
<div class="control select is-fullwidth">
|
<div class="control select is-fullwidth">
|
||||||
<select [(ngModel)]="updateSettingsHostDownloadAction">
|
<select [(ngModel)]="updateSettingsHostDownloadAction">
|
||||||
<option [ngValue]="0">Download all files to host</option>
|
<option [ngValue]="0">Download all files to host</option>
|
||||||
<option [ngValue]="1">Don't download any files to host</option>
|
<option [ngValue]="1">Don't download any files to host</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
|
||||||
<p class="help">
|
|
||||||
When a torrent is finished downloading on the provider, perform this action. Use this setting if you only want
|
|
||||||
to add files to Real-Debrid but not download them to the host.
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<p class="help">
|
||||||
<label class="label">Category</label>
|
When a torrent is finished downloading on the provider, perform this action. Use this setting if you only want
|
||||||
<div class="control">
|
to add files to Real-Debrid but not download them to the host.
|
||||||
<input class="input" type="text" [(ngModel)]="updateSettingsCategory" />
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<p class="help">The category becomes a sub-folder in your main download path.</p>
|
<div class="field">
|
||||||
|
<label class="label">Category</label>
|
||||||
|
<div class="control">
|
||||||
|
<input class="input" type="text" [(ngModel)]="updateSettingsCategory" />
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<p class="help">The category becomes a sub-folder in your main download path.</p>
|
||||||
<label class="label">Priority</label>
|
</div>
|
||||||
<div class="control">
|
<div class="field">
|
||||||
<input class="input" type="number" step="1" [(ngModel)]="updateSettingsPriority" />
|
<label class="label">Priority</label>
|
||||||
</div>
|
<div class="control">
|
||||||
<p class="help">
|
<input class="input" type="number" step="1" [(ngModel)]="updateSettingsPriority" />
|
||||||
Set the priority for this torrent where 1 is the highest. When empty it will be assigned the lowest priority.
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<p class="help">
|
||||||
<label class="label">Automatic retry downloads</label>
|
Set the priority for this torrent where 1 is the highest. When empty it will be assigned the lowest priority.
|
||||||
<div class="control">
|
</p>
|
||||||
<input
|
</div>
|
||||||
class="input"
|
<div class="field">
|
||||||
type="number"
|
<label class="label">Automatic retry downloads</label>
|
||||||
max="1000"
|
<div class="control">
|
||||||
min="0"
|
<input
|
||||||
step="1"
|
class="input"
|
||||||
[(ngModel)]="updateSettingsDownloadRetryAttempts"
|
type="number"
|
||||||
/>
|
max="1000"
|
||||||
</div>
|
min="0"
|
||||||
<p class="help">When a single download fails it will retry it this many times before marking it as failed.</p>
|
step="1"
|
||||||
|
[(ngModel)]="updateSettingsDownloadRetryAttempts"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<p class="help">When a single download fails it will retry it this many times before marking it as failed.</p>
|
||||||
<label class="label">Automatic retry torrent</label>
|
</div>
|
||||||
<div class="control">
|
<div class="field">
|
||||||
<input
|
<label class="label">Automatic retry torrent</label>
|
||||||
class="input"
|
<div class="control">
|
||||||
type="number"
|
<input
|
||||||
max="1000"
|
class="input"
|
||||||
min="0"
|
type="number"
|
||||||
step="1"
|
max="1000"
|
||||||
[(ngModel)]="updateSettingsTorrentRetryAttempts"
|
min="0"
|
||||||
/>
|
step="1"
|
||||||
</div>
|
[(ngModel)]="updateSettingsTorrentRetryAttempts"
|
||||||
<p class="help">
|
/>
|
||||||
When a single download has failed multiple times (see setting above) or when the torrent itself received an
|
|
||||||
error it will retry the full torrent this many times before marking it failed.
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<p class="help">
|
||||||
<label class="label">Delete download when in error</label>
|
When a single download has failed multiple times (see setting above) or when the torrent itself received an
|
||||||
<div class="control">
|
error it will retry the full torrent this many times before marking it failed.
|
||||||
<input class="input" type="number" max="1000" min="0" step="1" [(ngModel)]="updateSettingsDeleteOnError" />
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<p class="help">
|
<div class="field">
|
||||||
When a download has been in error for this many minutes, delete it from the provider and the client. 0 to
|
<label class="label">Delete download when in error</label>
|
||||||
disable.
|
<div class="control">
|
||||||
</p>
|
<input class="input" type="number" max="1000" min="0" step="1" [(ngModel)]="updateSettingsDeleteOnError" />
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<p class="help">
|
||||||
<label class="label">Torrent maximum lifetime</label>
|
When a download has been in error for this many minutes, delete it from the provider and the client. 0 to
|
||||||
<div class="control">
|
disable.
|
||||||
<input
|
</p>
|
||||||
class="input"
|
</div>
|
||||||
type="number"
|
<div class="field">
|
||||||
max="100000"
|
<label class="label">Torrent maximum lifetime</label>
|
||||||
min="0"
|
<div class="control">
|
||||||
step="1"
|
<input
|
||||||
[(ngModel)]="updateSettingsTorrentLifetime"
|
class="input"
|
||||||
/>
|
type="number"
|
||||||
</div>
|
max="100000"
|
||||||
<p class="help">
|
min="0"
|
||||||
The maximum lifetime of a torrent in minutes. When this time has passed, mark the torrent as error. If the
|
step="1"
|
||||||
torrent is completed and has downloads, the lifetime setting will not apply. 0 to disable.
|
[(ngModel)]="updateSettingsTorrentLifetime"
|
||||||
</p>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
<p class="help">
|
||||||
|
The maximum lifetime of a torrent in minutes. When this time has passed, mark the torrent as error. If the
|
||||||
|
torrent is completed and has downloads, the lifetime setting will not apply. 0 to disable.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="notification is-danger is-light" *ngIf="changeSettingsError?.length > 0">
|
<div class="notification is-danger is-light" *ngIf="changeSettingsError?.length > 0">
|
||||||
Error changing settings: {{ changeSettingsError }}
|
Error changing settings: {{ changeSettingsError }}
|
||||||
|
|
@ -300,7 +298,12 @@
|
||||||
>
|
>
|
||||||
Save
|
Save
|
||||||
</button>
|
</button>
|
||||||
<button class="button" (click)="changeSettingsCancel()" [disabled]="changingSettings" [ngClass]="{ 'is-loading': changingSettings }">
|
<button
|
||||||
|
class="button"
|
||||||
|
(click)="changeSettingsCancel()"
|
||||||
|
[disabled]="changingSettings"
|
||||||
|
[ngClass]="{ 'is-loading': changingSettings }"
|
||||||
|
>
|
||||||
Cancel
|
Cancel
|
||||||
</button>
|
</button>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
|
|
@ -55,8 +55,9 @@
|
||||||
<label class="label">Downloader</label>
|
<label class="label">Downloader</label>
|
||||||
<ng-container [ngSwitch]="torrent.downloadClient">
|
<ng-container [ngSwitch]="torrent.downloadClient">
|
||||||
<ng-container *ngSwitchCase="0">Internal Downloader</ng-container>
|
<ng-container *ngSwitchCase="0">Internal Downloader</ng-container>
|
||||||
<ng-container *ngSwitchCase="1">Aria2c</ng-container>
|
<ng-container *ngSwitchCase="1">Bezadd</ng-container>
|
||||||
<ng-container *ngSwitchCase="2">Symlink Downloader</ng-container>
|
<ng-container *ngSwitchCase="2">Aria2c</ng-container>
|
||||||
|
<ng-container *ngSwitchCase="3">Symlink Downloader</ng-container>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
|
|
@ -494,8 +495,9 @@
|
||||||
<div class="control select is-fullwidth">
|
<div class="control select is-fullwidth">
|
||||||
<select [(ngModel)]="updateSettingsDownloadClient">
|
<select [(ngModel)]="updateSettingsDownloadClient">
|
||||||
<option [ngValue]="0">Internal Downloader</option>
|
<option [ngValue]="0">Internal Downloader</option>
|
||||||
<option [ngValue]="1">Aria2c</option>
|
<option [ngValue]="1">Bezzad</option>
|
||||||
<option [ngValue]="2">Symlink Downloader</option>
|
<option [ngValue]="2">Aria2c</option>
|
||||||
|
<option [ngValue]="3">Symlink Downloader</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<p class="help">
|
<p class="help">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue