- [overview] add camera attribute to posts. parsing is done in `func/metadata.py` and takes any of the available tags corresponding to "make" and "model" properties and concatenates them into a string - [server] improved `func/metadata.py`: - added camera resolve functions for photos and videos - moved ffmpeg subprocess and exif image opening to separate function - optionally reuse existing collection of extracted tags in any of the functions - iterative approach to checking for tags' existence as opposed to imperative - (somewhat) better error handling - [server] created alembic migration in `adb2acef2492_add_camera.py` - not only adds columns, but also scans files and updates their camera string - [server] added camera attribute functionality and improved error handling in `func/posts.py` - [server] add camera attribute to `model/post.py` |
||
---|---|---|
.. | ||
szurubooru | ||
.dockerignore | ||
.flake8 | ||
alembic.ini | ||
config.yaml.dist | ||
dev-requirements.txt | ||
docker-start.sh | ||
Dockerfile | ||
pyproject.toml | ||
requirements.txt | ||
szuru-admin |