An online sign dictionary and sign database management system for research purposes. Developed originally by Steve Cassidy/ This repo is a fork for the Dutch version, previously called 'NGT-Signbank'.
The extra characters on the filename before the extension cause problems with Signbank file naming (see Django implementation code below). This has something to do with obsolete or old video files not being deleted or moved properly by Signbank. The fact that some files are named with these random characters causes other to code go wrong. For example, retrieving the images.
> def get_available_name(self, name, max_length=None):
> """
> Return a filename that's free on the target storage system and
> available for new content to be written to.
> """
> dir_name, file_name = os.path.split(name)
> file_root, file_ext = os.path.splitext(file_name)
> # If the filename already exists, add an underscore and a random 7
> # character alphanumeric string (before the file extension, if one
> # exists) to the filename until the generated filename doesn't exist.
> # Truncate original name if required, so the new filename does not
> # exceed the max_length.
The extra characters on the filename before the extension cause problems with Signbank file naming (see Django implementation code below). This has something to do with obsolete or old video files not being deleted or moved properly by Signbank. The fact that some files are named with these random characters causes other to code go wrong. For example, retrieving the images.
https://github.com/django/django/blob/25e724a5d6e331d2d73050d6dcdf2e8593c3aebf/django/core/files/storage.py#L63-L74