02-11-2021, 11:48 PM
Indeed it is necessary to modify the file:
/var/www/command/thmcache.php
Attached is the code that I modified for my needs especially for the "_Front" and "_front" files.
I have done the test, the covers are correctly filled in.
Is the file "coverart.php" still in use?
For the management of the on/off of the Raspberry I will see to find a solution, I will share future information on this subject on the forum.
Thanks Tim for your precious help.
/var/www/command/thmcache.php
Attached is the code that I modified for my needs especially for the "_Front" and "_front" files.
I have done the test, the covers are correctly filled in.
Is the file "coverart.php" still in use?
For the management of the on/off of the Raspberry I will see to find a solution, I will share future information on this subject on the forum.
Thanks Tim for your precious help.
Code:
function parseFolder($path) {
//workerLog('thmcache: parseFolder(): ' . $path);
// Default cover files
$covers = array(
'_Front.jpg', '_front.jpg', 'Cover.jpg', 'cover.jpg', 'Folder.jpg', 'folder.jpg'
);