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

Process files only once #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

coppit
Copy link

@coppit coppit commented Apr 2, 2017

Adds a state file in the config dir to record which files have already been processed.

That way if files are already in the watch folder, then a new file is added, we don't re-process the previously existing
files. (Deleting all our work from before by overwriting the files in the output dir!)

I hash the inode+size+filename and store that, for a little privacy.

coppit added 2 commits April 2, 2017 15:21
Adds a state file in the config dir to record which files have already been processed.

That way if files are already in the watch folder, then a new file is added, we don't re-process the previously existing
files. (Deleting all our work from before by overwriting the files in the output dir!)

I hash the inode+size+filename and store that, for a little privacy.
Seems like HandBrake does a chdir. My first encode succeeded, but later ones failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant