-
Notifications
You must be signed in to change notification settings - Fork 9
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
2nd play failed. #10
Comments
Thanks for the issue I'll investigate it. |
Arch Linux, mpv 0.34.1-dirty, nodejs 18.4.0, npm 8.10.0 |
Today updated to npm 8.11.0, first play also not work now. Err msg as below (same as above): |
I can't reproduce this behavior. By some reasons when you try to open second file/URL it's trying to seek the video to 3862.75 position and it's fails because your video probably shorter than 3862.75 seconds. Maybe try to disable watchlist handling. You can disable it by changing |
I found out about this is a bug on node-mpv. When you try to seek unloaded file it fails. The PR request it's not made yet. |
Believe not the problem of videos. The failure occurs to any video, not one of them. |
will discuss in a new issue |
(1.0.7)Use app to play video, first time is OK. After stop playing, any play action receives no response -- failed.
Below may be the err log:
[mpvremote] unhandledRejection {"errcode":3,"verbose":"ipcCommand invalid","method":"command()","arguments":[3902.19,"absolute","exact"],"errmessage":"error running command","stackTrace":"Error\n at ErrorHandler.errorMessage (/usr/lib/node_modules/mpv-remote/node_modules/node-mpv/lib/error.js:79:18)\n at ipcRequest.reject (/usr/lib/node_modules/mpv-remote/node_modules/node-mpv/lib/ipcInterface/ipcRequest.js:41:33)\n at /usr/lib/node_modules/mpv-remote/node_modules/node-mpv/lib/ipcInterface/_events.js:69:48\n at Array.forEach ()\n at ipcInterface.dataHandler (/usr/lib/node_modules/mpv-remote/node_modules/node-mpv/lib/ipcInterface/_events.js:53:12)\n at Socket. (/usr/lib/node_modules/mpv-remote/node_modules/node-mpv/lib/ipcInterface/ipcInterface.js:160:43)\n at Socket.emit (node:events:537:28)\n at addChunk (node:internal/streams/readable:324:12)\n at readableAddChunk (node:internal/streams/readable:297:9)\n at Readable.push (node:internal/streams/readable:234:10)"}
The text was updated successfully, but these errors were encountered: