mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-13 12:23:34 +01:00
Update server/libs/nodeFfprobe/index.js
This commit is contained in:
1 parent
dd0d2e9f55
commit
0f772fd3cf
1 file changed
+1
-2
@@ -22,8 +22,7 @@ module.exports = (function () {
|
||||
proc.on('error', err => reject(err))
|
||||
proc.on('close', () => {
|
||||
try {
|
||||
let result = JSON.parse(probeData.join(''))
|
||||
resolve(result);
|
||||
resolve(JSON.parse(probeData.join('')))
|
||||
} catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user