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

Only delete audio files that need to be deleted #37

Merged
merged 2 commits into from
Sep 9, 2021

Conversation

shasheene
Copy link
Contributor

No description provided.

Ensures the WAV files extracted from the video have filename that are the same
as the video except for the file extension.

Previously the logic wouldn't handle more complex filenames containing multiple
dots, leading to a truncated audio filename.
Checks the filename before deleting the WAV audio files.

This at least ensures no file is removed that another process may rely on.

Care has been taken to only run inference on audio files relevant to the input.
@abhirooptalasila abhirooptalasila merged commit 97fb14d into abhirooptalasila:master Sep 9, 2021
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.

None yet

2 participants