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
The log prints:
and then the thumbnail generator stops and I do not get debug output 'thumb-gen: getImage(): 5' anymore...
Now investigating Zend_Media_Id3v2 ...
Seems to fail in /var/www/inc/Zend/Media/Id3v2.php, line 213:
Log shows:
Would that be: '/var/www/inc/Zend/Media/Id3/Frame/Wcom.php' ?
Wcom.php seems to refer to /var/www/inc/Zend/Media/Id3/LinkFrame.php. This file has another constructor. Here the thumbnail generator fails at line 56:
Log file shows that debug line '3' is never reached:
Seems that 'implode' crashes without any trace... Now its getting too complicated for me, I guess .
-Frank
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 ...
Seems to fail in /var/www/inc/Zend/Media/Id3v2.php, line 213:
Code:
workerLog('Id3v2 Constructor: 18 classname = ' . $classname);
$frame = new $classname($this->_reader, $options);
workerLog('Id3v2 Constructor: 19');
Log shows:
Code:
20240528 203325 Id3v2 Constructor: 18 classname = Zend_Media_Id3_Frame_Wcom
Would that be: '/var/www/inc/Zend/Media/Id3/Frame/Wcom.php' ?
Wcom.php seems to refer to /var/www/inc/Zend/Media/Id3/LinkFrame.php. This file has another constructor. Here the thumbnail generator fails at line 56:
Code:
public function __construct($reader = null, &$options = array())
{
parent::__construct($reader, $options);
workerLog('Zend_Media_Id3_LinkFrame: 1');
if ($this->_reader !== null) {
workerLog('Zend_Media_Id3_LinkFrame: 2');
$this->_link = implode
($this->_explodeString8
($this->_reader->read($this->_reader->getSize()), 1), '');
}
workerLog('Zend_Media_Id3_LinkFrame: 3');
}
Log file shows that debug line '3' is never reached:
Code:
20240528 204059 Id3v2 Constructor: 18 classname = Zend_Media_Id3_Frame_Wcom
20240528 204059 Zend_Media_Id3_LinkFrame: 1
20240528 204059 Zend_Media_Id3_LinkFrame: 2
Seems that 'implode' crashes without any trace... Now its getting too complicated for me, I guess .
-Frank