fix album cover thumb generator

This commit is contained in:
zotlabs 2017-11-20 18:14:44 -08:00
parent 1810edae93
commit 53445ba6bd

View File

@ -2,7 +2,7 @@
namespace Zotlabs\Thumbs; namespace Zotlabs\Thumbs;
use ID3Parser\ID3Parser; use \ID3Parser\ID3Parser;
class Mp3audio { class Mp3audio {
@ -11,7 +11,7 @@ class Mp3audio {
} }
function Thumb($attach,$preview_style,$height = 300, $width = 300) { function Thumb($attach,$preview_style,$height = 300, $width = 300) {
$p = newID3Parser(); $p = new ID3Parser();
$id = $p->analyze(dbunescbin($attach['content'])); $id = $p->analyze(dbunescbin($attach['content']));