mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
New: Cleanup Recycling Bin folders older than X days (0 to disable)
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
parent
0496e6afc2
commit
699f19b352
7 changed files with 43 additions and 7 deletions
|
@ -299,11 +299,27 @@ class MediaManagement extends Component {
|
|||
type={inputTypes.PATH}
|
||||
name="recycleBin"
|
||||
helpText="Track files will go here when deleted instead of being permanently deleted"
|
||||
helpTextWarning="Files in the recycle bin older than a week will be cleaned up automatically"
|
||||
onChange={onInputChange}
|
||||
{...settings.recycleBin}
|
||||
/>
|
||||
</FormGroup>
|
||||
|
||||
<FormGroup
|
||||
advancedSettings={advancedSettings}
|
||||
isAdvanced={true}
|
||||
>
|
||||
<FormLabel>Recycling Bin Cleanup</FormLabel>
|
||||
|
||||
<FormInputGroup
|
||||
type={inputTypes.NUMBER}
|
||||
name="recycleBinCleanupDays"
|
||||
helpText="Set to 0 to disable automatic cleanup"
|
||||
helpTextWarning="Files in the recycle bin older than the selected number of days will be cleaned up automatically"
|
||||
min={0}
|
||||
onChange={onInputChange}
|
||||
{...settings.recycleBinCleanupDays}
|
||||
/>
|
||||
</FormGroup>
|
||||
</FieldSet>
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue