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
MPVNet Support #246
Comments
I can confirm that it gives the following error:
I think if you want MPVNet to support Syncplay then you will need to discuss this with the MPVNet developers. |
mpv.net has no switch called --version System.Exception: version: MPV_ERROR_PROPERTY_NOT_FOUND |
There is a property called 'mpv-version' you can get via json ipc. |
@stax76 For the response I gave my first post I disabled the version check code, and I got the error message noted above. Syncplay does not communicate with mpv using JSON IPC, it uses the regular STDIN/STDOUT system. |
I knew mpv reacts to keys pressed in a console window but that you can send input commands to stdin is new to me. It's hard to tell how hard it would be to replicate this in mpv.net. You seem to send --script, there would be a property called 'scripts' but it can only be set before libmpv initialization and mpv.net parses the command line after initialization. My python knowledge being only very basic don't help either, there might not be an easy way for us to make this work. |
well, I figured there is input-terminal
maybe it's not that hard, we'll see. |
I got this working... Just don't invoke an instance to get the version and try my next release. |
@stax76 Nice one - it works! :) mpvnet support can now be added to Syncplay. |
Okay, initial support should be added by 187c8d8 which you can test out at https://bintray.com/syncplay/Syncplay/Syncplay/v1.6.5#files |
@Z3ROGRAV1TYx Can you please test the test build of mpvnet with the test build of Syncplay and let me know if it works for you? Seems to be working fine for me. |
It's work! Smooth!!! |
@restia666ashdoll @Et0h Edit: It works, even if it throws the error. Had to close the error and then the subsequent mpvnet window, after which it opened another mpvnet window which was connected with Syncplay. |
@RaXorX What version of Syncplay are you using? I tried MPVNet 5.4.4.0 on Windows 10 with Syncplay 1.6.5 pre-realse at https://bintray.com/syncplay/Syncplay/Syncplay/v1.6.5#files and it works fine. Actually, when I say "works fine" there is one outstanding issue with Syncplay and MPVnet which I need to get to the bottom of, which is that sometimes when you try to use the in-player chat facility by pressing "enter" while a video is playing it won't let you type anything (or exit chat input mode). |
@Et0h v1.6.5 works fine but I was on the current stable version 1.6.4 provided from the site itself. That one threw and still throws an error as I mentioned above. |
I've tested mpv.net-portable-x64-5.4.8.0 with Syncplay 1.6.5.-GIT and it seems to be working fine. It would be helpful if someone else could test it too, e.g. @grravity or @RaXorX - especially the shared playlist feature and handling of EOF. You can get MPVNet from: https://github.com/stax76/mpv.net/releases |
Would love to have MPVNet support. It just errors when trying to use it.
The text was updated successfully, but these errors were encountered: