aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Thumbs/Mp3audio.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-11-20 18:14:44 -0800
committerzotlabs <mike@macgirvin.com>2017-11-20 18:14:44 -0800
commit53445ba6bdd1cde780f4a3d84cbb061cb6b72df9 (patch)
tree9f091576a1783fc53ebfeab3b9fcb34b4303d2a0 /Zotlabs/Thumbs/Mp3audio.php
parent1810edae93565d5340e724b4411520ea18e2b7e0 (diff)
downloadvolse-hubzilla-53445ba6bdd1cde780f4a3d84cbb061cb6b72df9.tar.gz
volse-hubzilla-53445ba6bdd1cde780f4a3d84cbb061cb6b72df9.tar.bz2
volse-hubzilla-53445ba6bdd1cde780f4a3d84cbb061cb6b72df9.zip
fix album cover thumb generator
Diffstat (limited to 'Zotlabs/Thumbs/Mp3audio.php')
-rw-r--r--Zotlabs/Thumbs/Mp3audio.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Thumbs/Mp3audio.php b/Zotlabs/Thumbs/Mp3audio.php
index d2e660cf8..000d65b22 100644
--- a/Zotlabs/Thumbs/Mp3audio.php
+++ b/Zotlabs/Thumbs/Mp3audio.php
@@ -2,7 +2,7 @@
namespace Zotlabs\Thumbs;
-use ID3Parser\ID3Parser;
+use \ID3Parser\ID3Parser;
class Mp3audio {
@@ -11,7 +11,7 @@ class Mp3audio {
}
function Thumb($attach,$preview_style,$height = 300, $width = 300) {
- $p = newID3Parser();
+ $p = new ID3Parser();
$id = $p->analyze(dbunescbin($attach['content']));