more debug
This commit is contained in:
parent
eecee1f123
commit
d1373f94b4
|
@ -104,7 +104,7 @@ Lib.prototype.generateThumbs = () => {
|
||||||
if(!fs.existsSync(thumbnail)) {
|
if(!fs.existsSync(thumbnail)) {
|
||||||
exec('ffmpegthumbnailer -i'+e.dest+' -s1024 -o'+thumbnail, (error) => {
|
exec('ffmpegthumbnailer -i'+e.dest+' -s1024 -o'+thumbnail, (error) => {
|
||||||
if(error) {
|
if(error) {
|
||||||
Lib.prototype.log('failed thumbnail for '+e.id+' ('+e.mime+') 1');
|
Lib.prototype.log('failed thumbnail for '+e.id+' ('+e.mime+') '+JSON.stringify(error));
|
||||||
fs.copySync('./s/mp3.png', thumbnail); // copy standardthumbnail
|
fs.copySync('./s/mp3.png', thumbnail); // copy standardthumbnail
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user