After testing my batch timeshift script (https://resource.dopus.com/t/dialog-button-for-batch-timeshifting-picture-metadata-with-syntax-check/38723/2) successfully im now running into problems in a production environment (batching ~2000 files). When starting the timeshift the
SetAttr command is running into problems.
- One is "metadata parsing error" but "batching" the single file works flawlessly.
- The second is a "file not found". It seems that DOpus is renaming the file where SetAttr should be applied (a numeric is attached to the extension). Then the command fails with "system cannot find the file". As you can see in the image below the file which is not found is existent but with another extension.
The command object im using is created once, the actual command added via AddLine() and via AddFiles() i add the selected files.
My first approach was creating the command object and then applying it to each file individually. Thus i would be able to do better error catching but I changed it because it feeld slower.
Can you give me an advise?