Commit Graph

1348 Commits

Author SHA1 Message Date
Simon Conseil
3cf4f0979a Use pillow's context manager 2023-07-15 15:30:28 +02:00
Simon Conseil
de597c576c Remove compat code for old versions of Pillow 2023-07-15 13:25:34 +02:00
Simon Conseil
df525a1743 Move cli handling to __main__ 2023-07-15 13:05:55 +02:00
Simon Conseil
1ce2206601 Update copyright 2023-07-15 12:24:54 +02:00
Simon Conseil
6ead91b4b7 Use wheels within tox 2023-07-07 12:41:36 +02:00
Simon Conseil
2dc1e556b0 Merge pull request #491 from KaibutsuX/supportAlbumForce
Added support for -a, --force-album argument
2023-07-05 21:54:59 +02:00
Sean Grider
81c0d81e80 Fixed my tests and changes 2023-07-05 14:11:23 -04:00
Sean Grider
f0f224f8c0 Added tests, better naming, address comments 2023-07-05 14:11:23 -04:00
Sean Grider
384affd891 Fix typo 2023-07-05 14:11:23 -04:00
Sean Grider
46ca38d5a4 Added support for -a, --force-album argument
Like --force, but can specify multiple specific album names or wildcard
patterns to apply to entire album paths like:
-a Pics/*
-a *Wedding*
-a 'Landscape Photos'
2023-07-05 14:11:23 -04:00
Simon Conseil
b45d018cea Remove uses of pkg_resources 2023-07-05 19:13:58 +02:00
Simon Conseil
8e364692ee Set maximum version for Pillow
pilkit is not compatible with Pillow 10.0.0
2023-07-05 19:00:31 +02:00
Simon Conseil
ec36725cdc Simplify coverage.source 2023-07-05 18:44:00 +02:00
Simon Conseil
4cc7f5f4d2 Update changelog 2023-06-03 17:57:09 +02:00
Simon Conseil
401f40beb2 Replace isort and pyupgrade with ruff 2023-06-03 17:40:32 +02:00
Simon Conseil
5f61164f94 Merge pull request #492 from saimn/tox
Try to fix issue with tox-gh-actions
2023-06-03 16:53:38 +02:00
Simon Conseil
6dc3dd0796 Try to fix issue with tox-gh-actions
py310-pillow-latest: tox-gh-actions couldn't understand the parallel
option. ignoring the given option: 0
2023-06-03 16:46:44 +02:00
Simon Conseil
0923a56a56 Replace example ogv file to avoid issues with ffmpeg 2023-04-20 20:07:12 +02:00
Simon Conseil
eec4c3fd02 Remove MANIFEST.in, not needed with setuptools_scm 2023-02-14 23:05:43 +01:00
Simon Conseil
7fe68fc729 Remmove unneeded file 2023-02-14 22:37:46 +01:00
Simon Conseil
33b6bafbde Use ruff 2023-02-14 22:17:13 +01:00
Simon Conseil
8e72326510 Move setuptools config to pyproject 2023-02-14 22:17:13 +01:00
Simon Conseil
66bd01106b Normalize strings 2023-02-14 22:17:13 +01:00
Simon Conseil
7b0fee1eec pre-commit - update and run 2023-02-14 22:17:13 +01:00
Simon Conseil
f5e53dd8db Merge pull request #487 from tired-engineer/tired-engineer-patch-1
Update link to Galleria
2023-02-14 21:32:25 +01:00
tired-engineer
f752101d55 Update link to Galleria
The domain galleria.io was squatted.
2023-02-14 11:01:37 +01:00
Simon Conseil
3afe76ea85 Merge pull request #485 from KaibutsuX/supportBlackDetection
Added support for black detection in video thumbnail generation
2023-01-04 21:56:23 +01:00
Sean Grider
e41b0695de Fixed typo 2023-01-02 12:56:33 -05:00
Sean Grider
1552ac14cd Added myself to AUTHORS 2023-01-02 12:56:33 -05:00
Sean Grider
2ca3e174a3 Added support for black detection in video thumbnail generation
Added 3 new conf options:
* thumb_video_black_retries = 0
* thumb_video_black_retry_offset = 1
* thumb_video_black_max_colors = 4

They control how many retries a thumbnail generation should run before
failure. Each retry seeks the video another N seconds determined by
retry_offset in addition to the original thumb_video_delay setting.

A 'black' thumbnail is detected when the resulting image has max_colors
or less distinct color values in it. This is not exclusive to black, but
attempts to avoid any solid color images.
2023-01-02 12:56:33 -05:00
Simon Conseil
03418f5a90 Fix issue with Sphinx 6 and extlinks 2023-01-02 17:24:08 +01:00
Simon Conseil
0d70f3a1d0 Update pre-commit 2022-12-11 18:05:41 +01:00
Simon Conseil
9cd25ea1ee Don't show the galleria container if there are no medias (fix #484) 2022-12-11 17:55:04 +01:00
Simon Conseil
4fd9fb2391 Force encrypt's password form to be on top (fix #483) 2022-12-11 17:42:10 +01:00
Simon Conseil
f56850bf5e Add CI job aith Python 3.11 2022-11-23 22:27:35 +01:00
Simon Conseil
a05245d56c Add mkv to video_extensions (ref #481) 2022-11-23 22:24:42 +01:00
Simon Conseil
ccc73bcede Update pre-commit 2022-11-23 22:20:41 +01:00
Simon Conseil
3031439aa1 Skip for now ... 2022-08-15 22:16:23 +02:00
Simon Conseil
249191c243 Try something else 2022-08-15 20:27:24 +02:00
Simon Conseil
aa7cc96959 Increase coverage 2022-08-15 20:21:19 +02:00
Simon Conseil
ca74af27bd Increase coverage 2022-08-15 20:04:26 +02:00
Simon Conseil
2c34776dd6 Switch to src layout 2022-08-15 18:51:39 +02:00
Simon Conseil
ffb42efcd5 Remove checkdocs 2022-08-15 17:44:15 +02:00
Simon Conseil
ae266f79e0 Remove setup.py 2022-08-15 17:16:35 +02:00
Simon Conseil
604b2f9a48 Update and run pre-commit 2022-08-15 17:13:17 +02:00
Simon Conseil
272f33266d Make sure zip_gallery is set correctly (fix #477) 2022-08-15 17:07:42 +02:00
Simon Conseil
5ee967bf9e Merge pull request #479 from saimn/update-pillow
Updates for recent Pillow changes
2022-08-02 17:22:12 +02:00
Simon Conseil
ce40d846fe Handle deprecation 2022-08-02 17:15:51 +02:00
Simon Conseil
3ce86e5763 Bump Pillow requirement 2022-08-02 17:08:17 +02:00
Simon Conseil
69ed93053e Replace deprecated Image.ANTIALIAS 2022-08-02 17:08:02 +02:00