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

Script re-uploads already uploaded screenshots when image host fails #343

Open
PunchDrunkL0ve opened this issue Jun 22, 2024 · 0 comments
Open

Comments

@PunchDrunkL0ve
Copy link

Hello,

I'm frequently having an issue while uploading screenshots. My default image host is ptpimg. Very often the script will successfully upload the first couple of screenshots to ptpimg and then give an error that the image host has failed. When it attempts to upload the remaining screenshots to the next configured image host, instead of continuing from where it was left (ie with screenshot 3 of 6, 4 of 6, etc), it starts re-uploading the screenshots from the beginning (ie with screenshot 1 of 6). So I end up with having duplicate screenshots in my meta.json file.

I've tried using other image hosts as default but got the same issue so don't think it's related to ptpimg.

The confusing thing is that sometimes when there is an image host failure the script does 'remember' which screenshots are left to be uploaded to the next image host -which is the expected behaviour.

Any ideas/suggestions on how to solve the above issue would be very welcomed. Many thanks.

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

No branches or pull requests

1 participant