Tdarr icon indicating copy to clipboard operation
Tdarr copied to clipboard

Add ability to cancel/ignore current "Plugin" if estimated target size is bigger than expected

Open ejalal opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. I would like to be able to cancel/ignore and move to next plugin if estimated target size produced by current plugin is bigger than expected. I know this can be managed with the "New file size check" plugin, but this is done once current plugin is 100% completed (or at the end of all plugins).

This will help save some time and processing power by interrupting the job earlier if target size will more likely to be rejected.

Describe the solution you'd like

  • Add a target size threshold in pecentage to not exceed for the target size produced from current plugin
  • Add a progress percentage to run the check: As the target file size is sometimes exagerated at the beginning of the processing, it becomes more stable over time so this second parameter will be used as trigger for check

Example If at 25% progress of movie transcode (always current plugin), the estimated target size is bigger than 110%, cancel current plugin and move to next plugin in the transcoding queue.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

ejalal avatar Oct 03 '22 10:10 ejalal