05-28-2024, 06:40 PM
(05-28-2024, 06:23 PM)ftw64 Wrote: Hi Tim,
It seems that this statement in thumb-gen.php (line 318) does not return:
$id3v2 = new Zend_Media_Id3v2($path, array('hash_only' => false)); // r44a
Code:case 'mp3':
require_once __DIR__ . '/../inc/Zend/Media/Id3v2.php';
try {
workerLog('thumb-gen: getImage(): 4 (path = ' . $path . ')');
$id3v2 = new Zend_Media_Id3v2($path, array('hash_only' => false)); // r44a
workerLog('thumb-gen: getImage(): 5');
if (isset($id3v2->apic)) {
The log prints:
Code:20240528 201917 thumb-gen: getImage(): 4 (path = /var/lib/mpd/music/NAS/NFS/2/stevie wonder - (2001) vocals and instrumentals pt2 (lg100)/11 - for once in my life.mp3)
and then the thumbnail generator stops and I do not get debug output 'thumb-gen: getImage(): 5' anymore...
Now investigating Zend_Media_Id3v2 ...
-Frank
Back at the start of the Bookworm port I had to fixup some implode() statements in the id3 and iso14496 Zend classes that failed due to not being PHP8 compliant.
Here's the commit
https://github.com/moode-player/moode/co...88c13af3a1
It' possible other non-php8-compliant code exists in Zend. Just a thought.