Releases: Vegz78/GRUVI
Releases · Vegz78/GRUVI
Major upgrade++
Major upgrade
- Upgraded to a handy command line tool for quickly producing thumbnails of custom sizes and url links or file paths lists to the thumbnails or the originals, in addition to the original purpose of serving the LMS Image Viewer app with images.
- The command line functionality now comes with many new arguments for customizability, dryrun functionality with console output of the various settings chosen and file actions taken, and a practical help screen that can be called with the arguments -h, /?, --help OR HELP
- Added the URL arguments ...?player=Touch and ...?player=Custom to produce image lists to the SB Touch and custom players with various screen sizes directly from the Image Viewer App or a web browser
- Added possibility to search through and convert to thumbs all images in every specified folder and determine the list sizes a posteriori instead of a priori fixed image selection sizes
- Cleaned up image thumbs file handling to both delete superfluous thumbs when list sizes are reduced, in addition to cleaner and faster adding and updates of new thumbs
Added support for later versions of ImageMagick, now supporting both the magick and convert executables - Tested on Windows, Linux and MacOS on PHP versions 6-8 and ImageMagick versions 6 and 7
- Updated to newest code with support for bmp, cr2, gif, heic, png, tiff and webp in addition to jpeg, new ability to run on Windows in addition to Linux and MacOS, and various bug fixes and clean-ups:
- GRUVI used to crash on an out-of-bounds condition if there were fewer images found in the $IMAGE_SOURCE folder than was to be expected from the corresponding $SOURCE_WEIGHT x $LIST_SIZE. Now missing images are represented by GRUVI logo images
- The queries for finding image files was unnecessary complicated and did not work on Windows
- General clean up of code and comments, added function for reused instructions
Small enhancement
Added routine to clean up residual lock file from interrupted runs.
Small bugfix
Ignore Apple ._* files
Small bugfixes and enhancements
Bugfixed a race condition and added option for GRUVI logo and output buffer flush for faster display of image URL list from gruvi.php.
Support LMS' internal web server
Added support for running directly in LMS' internal web server and choice between serial and parallel conversion of image files.
Multiple image folders support
Added possibility to choose multiple image folders with internal weighting of number of random image selections from each folder.