rfsbraz / deleterr

Deleterr is a Python script designed to help you manage available disk space in your Plex media server.
MIT License
118 stars 6 forks source link

Support moving shows to an intermediate storage #13

Open rfsbraz opened 10 months ago

rfsbraz commented 10 months ago

A user has suggested a new feature where media files are moved to a different storage location after they reach a certain age. The media server re-indexes these files, so they are still accessible. A second time configuration then governs when these files are actually deleted. Additionally, there should be an interface that provides an overview of what media is currently live, in intermediate storage, or recently deleted.

Requirements:

  1. Implement Move Action Type

    • Create a new action type in Deleterr to "move" files to a designated intermediate storage location.
  2. Two-Stage Deletion Process

    • Set up two time-based conditions: one for moving to intermediate storage and one for deletion.
  3. Re-Index Media After Move

    • Ensure the media server can re-index moved media so it remains accessible to users.
  4. Overview Interface

    • Develop an interface that lists media by its current stage: live, intermediate, or recently deleted.
  5. Update User Guide

    • Include instructions for setting up and using the intermediate storage feature.
  6. Optional Turn On/Off Feature

    • Allow users to enable or disable this feature from Deleterr settings.
rfsbraz commented 10 months ago

Currently only Radarr supports moving files across rootFolders.

Support for sonnar is being tracked here: https://github.com/totaldebug/pyarr/pull/164