phpDVDProfiler version v_20230108
Par ȷulmud le dimanche 8 janvier 2023, 09:42 - Free the code! - Lien permanent
After the previous release a week ago, I've been contacted by John who wanted two new features: mediatype banners in the galleries, and the ability to use pre-1970 release dates. When testing, we've also uncovered a few bugs (notably, there was no display when the collection is empty).
So here's a new version with those features and bug fixes:
- new: the mediatype banner can now be forced to be displayed on every media (see AddBannerOnThumbnails in siteconfig.php)
- new: support dates pre-1970 for release date, purchase date, ...
- fix: better handling of DB connection problems
- fix: don't count ignored profiles in added counter during collection update
- fix: the interface wasn't displayed if the collection (or search result) was empty
If you want to use the new feature AddBannerOnThumbnails, there are a few manual steps to take every time you change this setting value:
- Change the value in the
localsiteconfig.php
(orsiteconfig.php
, but you really should copy it tolocalsiteconfig.php
and use that instead). - Do a complete import of your collection.
- Remove all images in the
imagecache
directory.
Watch out: the following PHP extensions are needed for phpDVDProfiler:
- mysqli (used for database access)
- mbstring (used for sanitizing filenames, and for converting dates from UTF-8 to windows-1252)
- intl (used for the replacement of the deprecated strftime in PHP 8.1, and when sanitizing filenames)
You can download the archive either from this post, or from Github. As for comments, questions, and so on, I'd prefer if they're all done on Github.
Important information: I don't intend to do any kind of refactoring, developing new features, or anything else. This is just the basic needed work to make it compatible with newer versions of PHP.