mjacobus / jw-play

A prototype of a player/slideshow for zoom meetings
15 stars 3 forks source link

Add thumbnails to the file list #17

Closed mjacobus closed 2 years ago

mjacobus commented 3 years ago

The packed version has an issue:

Uncaught Exception:
Error: Cannot find ffmpeg
at /Applications/JW Play.app/Contents/Resources/app.asar/node_modules/fluent-ffmpeg/lib/processor.js:136:22
at /Applications/JW Play.app/Contents/Resources/app.asar/node_modules/fluent-ffmpeg/lib/capabilities.js:123:9
at /Applications/JW Play.app/Contents/Resources/app.asar/node_modules/fluent-ffmpeg/lib/capabilities.js:116:11
at /Applications/JW Play.app/Contents/Resources/app.asar/node_modules/fluent-ffmpeg/lib/utils.js:223:16
at F (/Applications/JW Play.app/Contents/Resources/app.asar/node_modules/fluent-ffmpeg/node_modules/which/which.js:68:16)
at E (/Applications/JW Play.app/Contents/Resources/app.asar/node_modules/fluent-ffmpeg/node_modules/which/which.js:80:29)
at /Applications/JW Play.app/Contents/Resources/app.asar/node_modules/fluent-ffmpeg/node_modules/which/which.js:89:16
at /Applications/JW Play.app/Contents/Resources/app.asar/node_modules/isexe/index.js:42:5
at /Applications/JW Play.app/Contents/Resources/app.asar/node_modules/isexe/mode.js:8:5
at FSReqCallback.oncomplete (node:fs:198:21)

Or as in https://github.com/mjacobus/jw-play/pull/17/commits/5b9e0da5786b233ae0593e3d230bd361fe8fc9d9

Uncaught Exception:
Error: spawn ENOTDIR
at ChildProcess.spawn (node:internal/child_process:412:11)
at spawn (node:child_process:707:9)
at /Applications/JW Play.app/Contents/Resources/app.asar/node_modules/fluent-ffmpeg/lib/processor.js:152:24
at FfmpegCommand.proto._getFfmpegPath (/Applications/JW Play.app/Contents/Resources/app.asar/node_modules/fluent-ffmpeg/lib/capabilities.js:90:14)
at FfmpegCommand.proto._spawnFfmpeg (/Applications/JW Play.app/Contents/Resources/app.asar/node_modules/fluent-ffmpeg/lib/processor.js:132:10)
at FfmpegCommand.proto.availableFormats.proto.getAvailableFormats (/Applications/JW Play.app/Contents/Resources/app.asar/node_modules/fluent-ffmpeg/lib/capabilities.js:517:10)
at /Applications/JW Play.app/Contents/Resources/app.asar/node_modules/fluent-ffmpeg/lib/capabilities.js:568:14
at fn (/Applications/JW Play.app/Contents/Resources/app.asar/node_modules/async/lib/async.js:638:34)
at Immediate.<anonymous> (/Applications/JW Play.app/Contents/Resources/app.asar/node_modules/async/lib/async.js:554:34)
at processImmediate (node:internal/timers:464:21)