Open susanodd opened 3 days ago
After asking @rem0g it turns out this was probably an upload script stuck in a loop. Has been fixed.
To clean up the duplicate backup files, is there already command for that (if so I can't find it)? Or what would be the best way to do this?
There were some more today, so I don't know if it's totally fixed. Regardless, there is nothing to stop the API user from uploading the same video file over and over again.
@susanodd is making a video admin "remove backups" command for selected GlossVideo objects:
If the object is a backup:
@Woseseltops:
Probably in the API request, it ought to check if the "new" video is the same as the "existing" video. There's an OS command for that. Ignore the request if so. (Note, there is nothing to stop the API from uploading the same video over and over again. This necessitates the command above. On Signbank, the user would become RSI-exhausted doing repeated uploads by hand.)
For some reason, numerous video uploads are being done for the same gloss repeatedly, each creating a new backup of the previous video upload. Sometimes upwards of 30 video files. There are matching requests for each of these. "Op hol slaan"