Tdarr icon indicating copy to clipboard operation
Tdarr copied to clipboard

Feature Request: Option to NOT record an output folder history

Open advorsky73 opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. I do have an automatic folder set up to be converted everything i throw into it and then the result to be moved to a specific output folder. In my case other automation systems pick up from there and the output folder gets cleaned out. My issue is that I do have the case very often that files with the same name already been converted are again added to the pickup folder. Those are then not being converted as they are already in the output folder history. They are the same name, though not the same content and the previous file with the same name is long gone from the output folder. So to make this work, i have to clean out the output folder history manually all the time and restart the schedule for the files hanging in the pickup folder.

Describe the solution you'd like I would like to see an option in the output folder configuration page of a library to explicitly NOT recording a file history, so converting a file with the same name multiple times is possible.

Describe alternatives you've considered A plugin maybe? I have no clue if a plugin could do that...

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

advorsky73 avatar Jul 07 '22 08:07 advorsky73

Quick method could be to just run this command in a terminal every few seconds which will clear the output history.

curl --request POST \
     --url http://localhost:8266/api/v2/cruddb \
     --header 'Content-Type: application/json' \
     --data '
{
     "data": {
          "collection": "F2FOutputJSONDB",
          "mode": "removeAll"
     }
}
'

So something like this:

while true; do date && curl --request POST --url http://localhost:8266/api/v2/cruddb --header 'Content-Type: application/json' --data '{ "data": { "collection": "F2FOutputJSONDB", "mode": "removeAll"}}' && echo; sleep 1; done

https://tdarr.readme.io/reference/post_cruddb

HaveAGitGat avatar Aug 08 '22 23:08 HaveAGitGat

Added for 2.00.20 image

HaveAGitGat avatar Mar 31 '23 05:03 HaveAGitGat

2.00.20 released

HaveAGitGat avatar Apr 03 '23 18:04 HaveAGitGat

Maybe this could be clearer. I thought it was output LOG history. Good thing I looked up what it does. No wonder my encodes were looping... FFS haha...

Maybe a clearer name like "Allow re-processing same file (Ignore History)"

ChristianMalazarte avatar Jun 27 '23 00:06 ChristianMalazarte