-
Notifications
You must be signed in to change notification settings - Fork 12
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
Excess number of backup videos being created by the API #1397
Comments
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. There isn't a command for them. The files need to be deleted before you can delete the objects. I guess we could implement a command to do that in the admin. If you just remove the files you can also just remove the objects. If you look at the files in the terminal screen, it's kind of impossible to determine just by looking what is to delete. All the file names start with the same first two characters, then you need to browse to the end to see if it's the same gloss or not.
@Jetske I'll make a command as such. 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. |
@susanodd is making a video admin as well as a Manage Video Storage "remove backups" command for selected GlossVideo objects: If the object is a backup:
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.) I'm adding commands to do this in the Manage Video Storage page (other issue). With the introduction of perspective views on the NME videos, more and more videos will be uploaded. |
after selection was deleted, version numbers adjusted for new set. Change extension of backup file if it has the wrong video extension for its format.
change file extension command, match file type
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"
The text was updated successfully, but these errors were encountered: