jlesage / docker-handbrake

Docker container for HandBrake
MIT License
822 stars 95 forks source link

[Feature request] Dynamic/auto AUTOMATED_CONVERSION_OUTPUT_SUBDIR #319

Open alexindigo opened 8 months ago

alexindigo commented 8 months ago

Idea

Would be great to have Handbreak to have automatically using sub directories found in /watch to keep the same structure in the /output folder.

For context, I'm using makemkv together with handbreak as my dvd backup pipeline, and for now I'm getting bunch of B1_t00 and B1_t00 (1) files in the output folder, while in /watch folder it's all sitting snugly within sub folders like PULP_FICTION and MATRIX (just an example).

Thank you.

PS. And since I'm using jlesage/makemkv would be great to have it to use disk title as the prefix for the output file names.

alexindigo commented 8 months ago

And this auto conversion it's not even B1_t00 (1).mp4, it just stops:

[autovideoconverter] 1 title(s) to process.
[autovideoconverter] ERROR: Destination file '/output/B1_t00.mp4' already exists.
[autovideoconverter] Conversion failed.
jlesage commented 8 months ago

I think that setting AUTOMATED_CONVERSION_OUTPUT_SUBDIR to SAME_AS_SRC is what you want ? https://github.com/jlesage/docker-handbrake#environment-variables

alexindigo commented 8 months ago

A-ha. Somehow I missed it reading docs. Thanks a lot. Will try.