Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instance.stop() calling crashes the app #11

Open
imasif opened this issue Apr 6, 2018 · 0 comments
Open

Instance.stop() calling crashes the app #11

imasif opened this issue Apr 6, 2018 · 0 comments

Comments

@imasif
Copy link

imasif commented Apr 6, 2018

App crashers while playing multiple videos, {'--loop': true}, if don't turn on loop the first video plays then ends
/home/pi/omxjs/omxplayer.js:44:9=>

if(dont_loop_all && video == last) instance.stop();

events.js:160
throw er; // Unhandled 'error' event
^

Error: This socket has been ended by the other party
at Socket.writeAfterFIN [as write] (net.js:290:12)
at KeyboardController._sendAction (/home/pi/omxjs/node_modules/omx-manager/lib/keyboardcontroller.js:63:29)
at KeyboardController.stop (/home/pi/omxjs/node_modules/omx-manager/lib/keyboardcontroller.js:85:14)
at dontLoopLast (/home/pi/omxjs/omxplayer.js:29:53)
at KeyboardController. (/home/pi/omxjs/omxplayer.js:44:9)
at emitNone (events.js:86:13)
at KeyboardController.emit (events.js:185:7)
at KeyboardController._setStopState (/home/pi/omxjs/node_modules/omx-manager/lib/omxinstance.js:84:12)
at ChildProcess.respawn (/home/pi/omxjs/node_modules/omx-manager/lib/omxinstance.js:115:20)
at ChildProcess.g (events.js:292:16)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant