Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions DOCS/man/mpv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1536,10 +1536,15 @@ works like in older mpv releases:
.. warning::

Currently, you can extend the ``pseudo-gui`` profile in the config file the
normal way. This is deprecated. In future mpv releases, the behavior might
change, and not apply your additional settings, and/or use a different
profile name.
normal way. This is deprecated and will be removed in future mpv releases.

As an alternative, a conditional autoprofile can be used instead:

::

[gui]
profile-cond=p["player-operation-mode"]=="pseudo-gui"
idle=once

.. include:: options.rst

Expand Down
3 changes: 3 additions & 0 deletions DOCS/man/options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1090,6 +1090,9 @@ Program Behavior
only by mpv internally, or mpv-provided scripts, config files, or .desktop
files. See `PSEUDO GUI MODE`_ for details.

This option should be set at startup. Changing this option at runtime has no
effect.

Watch Later
-----------

Expand Down
2 changes: 1 addition & 1 deletion options/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ static const m_option_t mp_opts[] = {

{"player-operation-mode", OPT_CHOICE(operation_mode,
{"cplayer", 0}, {"pseudo-gui", 1}),
.flags = M_OPT_PRE_PARSE | M_OPT_NOPROP},
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't this allow to change this option in runtime, which would be unexpected.

Copy link
Copy Markdown
Contributor Author

@na-na-hi na-na-hi May 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No existing clients can change it in runtime, and currently changing it at runtime has no effect. I added a note to mention it explicitly in the documentation.

I can also keep it in place and add current-player-operation-mode property instead but I think player-operation-mode is something that client should not change at runtime.

.flags = M_OPT_PRE_PARSE},

{"shuffle", OPT_BOOL(shuffle), .flags = M_OPT_PRE_PARSE},

Expand Down
Loading