code: def hash_thesubdb(video_path):
      
      readsize = 64 * 1024
      if os.path.getsize(video_path) < readsize:
          return
      with open(video_path, 'rb') as f:
          data = f.read(readsize)
          f.seek(-readsize, os.SEEK_END)
          data += f.read(readsize)
  
      return hashlib.md5(data).hexdigest()
docs: Compute a hash using TheSubDB's algorithm.
  
      :param str video_path: path of the video.
      :return: the hash.
      :rtype: str