more debug

This commit is contained in:
Flummi 2016-09-09 23:06:39 +02:00
parent eecee1f123
commit d1373f94b4

View File

@ -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 {