Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: Albums Tags & Power On/Off
#9
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.  

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'
);
Reply


Messages In This Thread
Albums Tags & Power On/Off - by leosaro - 02-11-2021, 08:20 PM
RE: Albums Tags & Power On/Off - by Tim Curtis - 02-11-2021, 08:55 PM
RE: Albums Tags & Power On/Off - by leosaro - 02-11-2021, 09:18 PM
RE: Albums Tags & Power On/Off - by Tim Curtis - 02-11-2021, 10:01 PM
RE: Albums Tags & Power On/Off - by Stephanowicz - 02-11-2021, 09:48 PM
RE: Albums Tags & Power On/Off - by leosaro - 02-11-2021, 10:08 PM
RE: Albums Tags & Power On/Off - by Tim Curtis - 02-11-2021, 10:14 PM
RE: Albums Tags & Power On/Off - by leosaro - 02-11-2021, 10:27 PM
RE: Albums Tags & Power On/Off - by leosaro - 02-11-2021, 11:48 PM
RE: Albums Tags & Power On/Off - by Tim Curtis - 02-12-2021, 12:02 AM

Forum Jump: