diff options
-rw-r--r-- | metadata-readers.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/metadata-readers.js b/metadata-readers.js index 64f413a..edcac72 100644 --- a/metadata-readers.js +++ b/metadata-readers.js @@ -37,7 +37,11 @@ const metadataReaders = { probeDataString += data }) - await promisifyProcess(ffprobe, false) + try { + await promisifyProcess(ffprobe, false) + } catch (error) { + return null + } let data |