| @@ -1034,17 +1034,17 @@ There are three choices for using mpv from other programs or scripts: · 1033 unmodified lines |
| 1034 | | 1034 | |
| 1035 | Your code should work even if you pass ``--terminal=no``. Do not attempt | 1035 | Your code should work even if you pass ``--terminal=no``. Do not attempt |
| 1036 | to simulate user input by sending terminal control codes to mpv's stdin. | 1036 | to simulate user input by sending terminal control codes to mpv's stdin. |
| 1037 | If you need interactive control, using ``--input-ipc-server`` is | 1037 | If you need interactive control, using ``--input-ipc-server`` or |
| 1038 | recommended. This gives you access to the `JSON IPC`_ over unix domain | 1038 | ``--input-ipc-client`` is recommended. This gives you access to the |
| 1039 | sockets (or named pipes on Windows). | 1039 | `JSON IPC`_ over unix domain sockets (or named pipes on Windows). |
| 1040 | | 1040 | |
| 1041 | Depending on what you do, passing ``--no-config`` or ``--config-dir`` may | 1041 | Depending on what you do, passing ``--no-config`` or ``--config-dir`` may |
| 1042 | be a good idea to avoid conflicts with the normal mpv user configuration | 1042 | be a good idea to avoid conflicts with the normal mpv user configuration |
| 1043 | intended for CLI playback. | 1043 | intended for CLI playback. |
| 1044 | | 1044 | |
| 1045 | Using ``--input-ipc-server`` is also suitable for purposes like remote | 1045 | Using ``--input-ipc-server`` or ``--input-ipc-client`` is also suitable for |
| 1046 | control (however, the IPC protocol itself is not "secure" and not | 1046 | purposes like remote control (however, the IPC protocol itself is not |
| 1047 | intended to be so). | 1047 | "secure" and not intended to be so). |
| 1048 | | 1048 | |
| 1049 | 2. Using libmpv. This is generally recommended when mpv is used as playback | 1049 | 2. Using libmpv. This is generally recommended when mpv is used as playback |
| 1050 | backend for a completely different application. The provided C API is | 1050 | backend for a completely different application. The provided C API is |