bazarr/libs/subliminal
Michiel van Baak 9d73ccacf3 Use sha1 digest as cache key
Subliminal uses dogpile.cache to save state of subtitle availability.
Some methods that dogpile.cache caches can have big argument lists,
resulting in a default cache key that is longer than 255 characters.
The dogpile.cache backend used, saves cache items to the filesystem,
using the cache key as filename. This can result in errors about
Filename too long.
SHA1 generates a 160bit hash of the key, and we use the hexadecimal
digest of that hash, resulting in key names of 80 characters.
2021-03-14 16:56:50 +01:00
..
converters WIP 2019-09-16 22:04:27 -04:00
providers Upgraded GuessIt to 3.0.1 2020-05-20 11:29:39 -04:00
refiners Upgraded GuessIt to 3.0.1 2020-05-20 11:29:39 -04:00
__init__.py WIP 2019-09-16 22:04:27 -04:00
cache.py Use sha1 digest as cache key 2021-03-14 16:56:50 +01:00
cli.py WIP 2019-09-16 22:04:27 -04:00
core.py WIP 2019-09-16 22:04:27 -04:00
exceptions.py WIP 2019-09-16 22:04:27 -04:00
extensions.py WIP 2019-09-16 22:04:27 -04:00
score.py Upgraded GuessIt to 3.0.1 2020-05-20 11:29:39 -04:00
subtitle.py Upgraded GuessIt to 3.0.1 2020-05-20 11:29:39 -04:00
utils.py WIP 2019-09-16 22:04:27 -04:00
video.py Upgraded GuessIt to 3.0.1 2020-05-20 11:29:39 -04:00