mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
sync settings with client
This commit is contained in:
@@ -140,16 +140,6 @@ export default function SettingsDialog() {
|
|||||||
label={t('PreloadBuffer')}
|
label={t('PreloadBuffer')}
|
||||||
/>
|
/>
|
||||||
<br />
|
<br />
|
||||||
<TextField
|
|
||||||
onChange={inputForm}
|
|
||||||
margin='dense'
|
|
||||||
id='TorrentDisconnectTimeout'
|
|
||||||
label={t('TorrentDisconnectTimeout')}
|
|
||||||
value={TorrentDisconnectTimeout}
|
|
||||||
type='number'
|
|
||||||
fullWidth
|
|
||||||
/>
|
|
||||||
<br />
|
|
||||||
<FormControlLabel
|
<FormControlLabel
|
||||||
control={<Switch checked={UseDisk} onChange={inputForm} id='UseDisk' color='primary' />}
|
control={<Switch checked={UseDisk} onChange={inputForm} id='UseDisk' color='primary' />}
|
||||||
label={t('UseDisk')}
|
label={t('UseDisk')}
|
||||||
@@ -199,6 +189,16 @@ export default function SettingsDialog() {
|
|||||||
label={t('ForceEncrypt')}
|
label={t('ForceEncrypt')}
|
||||||
/>
|
/>
|
||||||
<br />
|
<br />
|
||||||
|
<TextField
|
||||||
|
onChange={inputForm}
|
||||||
|
margin='dense'
|
||||||
|
id='TorrentDisconnectTimeout'
|
||||||
|
label={t('TorrentDisconnectTimeout')}
|
||||||
|
value={TorrentDisconnectTimeout}
|
||||||
|
type='number'
|
||||||
|
fullWidth
|
||||||
|
/>
|
||||||
|
<br />
|
||||||
<TextField
|
<TextField
|
||||||
onChange={inputForm}
|
onChange={inputForm}
|
||||||
margin='dense'
|
margin='dense'
|
||||||
@@ -209,6 +209,21 @@ export default function SettingsDialog() {
|
|||||||
fullWidth
|
fullWidth
|
||||||
/>
|
/>
|
||||||
<br />
|
<br />
|
||||||
|
<FormControlLabel
|
||||||
|
control={<Switch checked={!DisableDHT} onChange={inputForm} id='DisableDHT' color='primary' />}
|
||||||
|
label={t('DHT')}
|
||||||
|
/>
|
||||||
|
<br />
|
||||||
|
<TextField
|
||||||
|
onChange={inputForm}
|
||||||
|
margin='dense'
|
||||||
|
id='DhtConnectionLimit'
|
||||||
|
label={t('DhtConnectionLimit')}
|
||||||
|
value={DhtConnectionLimit}
|
||||||
|
type='number'
|
||||||
|
fullWidth
|
||||||
|
/>
|
||||||
|
<br />
|
||||||
<TextField
|
<TextField
|
||||||
onChange={inputForm}
|
onChange={inputForm}
|
||||||
margin='dense'
|
margin='dense'
|
||||||
@@ -234,21 +249,6 @@ export default function SettingsDialog() {
|
|||||||
fullWidth
|
fullWidth
|
||||||
/>
|
/>
|
||||||
<br />
|
<br />
|
||||||
<FormControlLabel
|
|
||||||
control={<Switch checked={!DisableDHT} onChange={inputForm} id='DisableDHT' color='primary' />}
|
|
||||||
label={t('DHT')}
|
|
||||||
/>
|
|
||||||
<br />
|
|
||||||
<TextField
|
|
||||||
onChange={inputForm}
|
|
||||||
margin='dense'
|
|
||||||
id='DhtConnectionLimit'
|
|
||||||
label={t('DhtConnectionLimit')}
|
|
||||||
value={DhtConnectionLimit}
|
|
||||||
type='number'
|
|
||||||
fullWidth
|
|
||||||
/>
|
|
||||||
<br />
|
|
||||||
<TextField
|
<TextField
|
||||||
onChange={inputForm}
|
onChange={inputForm}
|
||||||
margin='dense'
|
margin='dense'
|
||||||
|
|||||||
Reference in New Issue
Block a user