Commit Graph

8 Commits

Author SHA1 Message Date
Simon Conseil
7b0fee1eec pre-commit - update and run 2023-02-14 22:17:13 +01:00
Sean Grider
e41b0695de Fixed typo 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
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
a05245d56c Add mkv to video_extensions (ref #481) 2022-11-23 22:24:42 +01: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