docker-mkvtoolnix icon indicating copy to clipboard operation
docker-mkvtoolnix copied to clipboard

Request: Add automation like the jlesage/docker-Handbreak image

Open ProjectVRD opened this issue 3 years ago • 2 comments

Is it possible to replicate some of the automation functionality that was added to jlesage/docker-Handbreak image?

Specifically the following:

  • A watch folder option for MKVToolNix, so files in sub-folders are automatically added into the Job Queue;

  • For the above the first file in any sub-folder within the Watch Folder is added, the remaining files in the sub-folder are appended. This can be determined on alphanumeric sorting. So 'Scene 1.mp4' is added, 'Scene 2.mp4' is appended, 'Scene 3.mp4' is appended, 'Scene 4.mp4' is appended etc;

  • The output file from MKVToolNix follows a naming convention based on the sub-folder that contains the files to be added to MKVToolNix. So if the files that are detected in a sub-folder called 'A Movie 253', the output file from MKVToolNix will be called 'A Movie 253.mkv'

  • The function for monitoring the Watch Folder can be set to wait for a predetermined time after the content within the sub-folder has last changed. This will prevent the MKVToolNix application from creating a new Job before any sub-folder has all the files.

ProjectVRD avatar Mar 19 '21 14:03 ProjectVRD

MKVToolNix can be used in so many use cases. The scenario you are describing is one of them. I'm not sure implementing a watch folder targeting a single scenario is the way to go...

jlesage avatar May 05 '23 12:05 jlesage

I concur that watch folder will be very useful to have number of your images: makemkv, handbreak and this one as a single pipeline. I don't thing it should be super complicated, but rather simple watch + hooks like what you have in handbreak image already, then each can add their own hooks with custom logic. It will add whole new level of usability to this image, not just GUI, but command-line/batch processing.

alexindigo avatar Jan 26 '24 07:01 alexindigo