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

createThumbnail: exit if output file already exists #470

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

IRHM
Copy link
Member

@IRHM IRHM commented Dec 18, 2023

instead of hanging on 'overwrite?' output, which can result in a video not being added

Changes made

When creating a thumbnail, we could get hung on ffmpeg asking us if we want to overwrite an existing file. Added -n option so we don't overwrite and exit immediately in this case.

In the flow of dropping a video to import it, this could cause us to stay hung waiting on ffmpeg to exit, which would result in our video not being imported.

instead of hanging on 'overwrite?' output, which can result in a video not being added
@IRHM IRHM added the bug Something isn't working label Dec 18, 2023
@IRHM IRHM added this to the v1.5.0 milestone Dec 18, 2023
@IRHM IRHM self-assigned this Dec 18, 2023
@IRHM IRHM merged commit d0a4de2 into master Dec 18, 2023
4 checks passed
@IRHM IRHM deleted the thumbnail-exitifexists branch December 18, 2023 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant