remove legacy limit_count config
This commit is contained in:
parent
bc39561606
commit
77900f89e3
|
@ -19,7 +19,6 @@
|
||||||
"auto_start": false
|
"auto_start": false
|
||||||
},
|
},
|
||||||
"downloads": {
|
"downloads": {
|
||||||
"limit_count": false,
|
|
||||||
"limit_speed": false,
|
"limit_speed": false,
|
||||||
"sleep_interval": 3,
|
"sleep_interval": 3,
|
||||||
"autodelete_days": false,
|
"autodelete_days": false,
|
||||||
|
|
|
@ -107,7 +107,6 @@ class ApplicationSettingsForm(forms.Form):
|
||||||
subscriptions_shorts_channel_size = forms.IntegerField(
|
subscriptions_shorts_channel_size = forms.IntegerField(
|
||||||
required=False, min_value=0
|
required=False, min_value=0
|
||||||
)
|
)
|
||||||
downloads_limit_count = forms.IntegerField(required=False)
|
|
||||||
downloads_limit_speed = forms.IntegerField(required=False)
|
downloads_limit_speed = forms.IntegerField(required=False)
|
||||||
downloads_throttledratelimit = forms.IntegerField(required=False)
|
downloads_throttledratelimit = forms.IntegerField(required=False)
|
||||||
downloads_sleep_interval = forms.IntegerField(required=False)
|
downloads_sleep_interval = forms.IntegerField(required=False)
|
||||||
|
|
|
@ -52,11 +52,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="settings-group">
|
<div class="settings-group">
|
||||||
<h2 id="downloads">Downloads</h2>
|
<h2 id="downloads">Downloads</h2>
|
||||||
<div class="settings-item">
|
|
||||||
<p>Current download limit: <span class="settings-current">{{ config.downloads.limit_count }}</span></p>
|
|
||||||
<i>Limit the number of videos getting downloaded on every run. 0 (zero) to deactivate.</i><br>
|
|
||||||
{{ app_form.downloads_limit_count }}
|
|
||||||
</div>
|
|
||||||
<div class="settings-item">
|
<div class="settings-item">
|
||||||
<p>Current download speed limit in KB/s: <span class="settings-current">{{ config.downloads.limit_speed }}</span></p>
|
<p>Current download speed limit in KB/s: <span class="settings-current">{{ config.downloads.limit_speed }}</span></p>
|
||||||
<i>Limit download speed. 0 (zero) to deactivate, e.g. 1000 (1MB/s). Speeds are in KB/s. Setting takes effect on new download jobs or application restart.</i><br>
|
<i>Limit download speed. 0 (zero) to deactivate, e.g. 1000 (1MB/s). Speeds are in KB/s. Setting takes effect on new download jobs or application restart.</i><br>
|
||||||
|
|
Loading…
Reference in New Issue