Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shorter cache (temp) working folder and file name or ability to set it manually #938

Open
testdasi opened this issue Dec 25, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@testdasi
Copy link

Is your feature request related to a problem? Please describe.
When using Tdarr with a Windows node, the path length limit in Windows can cause "file not found" or similar errors if the path length is longer than 255 characters. The new flow-based working folder naming convention makes this more likely to cause issue because they are way too long.

For example:

  • Working folder name (61): tdarr-workDir-node-L1p-M631w-worker-evil-eel-ts-1703476631926
  • Subfolder (13): 1703476634588
  • File name: actual name of file

That is 75 characters wasted just for the folder and sub folder names. Adding path mapping and I'm down to less than 150 characters for file name, which is not much.
To be honest, I don't see the benefit of having "tdarr-workDir-node" AND "evil-eel-ts" AND random number. It's really overdoing it.

Describe the solution you'd like
2 potential solutions:

  • Ability to set manual working folder name and and working file name. This would be ideal if there's an option to add random text generator.
  • Use shorter automatic names e.g. use 8-character alphanumeric random names, no need random number on parent working folder name, etc.

Describe alternatives you've considered
Manually rename files that are too long, transcode and then rename it back. Shouldn't need to do this.

@HaveAGitGat HaveAGitGat added the enhancement New feature or request label Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants