Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3cf7d63

Browse files
author
nadeko
committed
CI autodeploy
1 parent e540832 commit 3cf7d63

File tree

1 file changed

+17
-19
lines changed

1 file changed

+17
-19
lines changed

‎manual/master/index.html

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12763,8 +12763,8 @@ <h2>List of events</h2>
1276312763
<dt><tt class="docutils literal"><span class="pre">playback-restart</span></tt> (<tt class="docutils literal">MPV_EVENT_PLAYBACK_RESTART</tt>)</dt>
1276412764
<dd>Start of playback after seek or after file was loaded.</dd>
1276512765
<dt><tt class="docutils literal">shutdown</tt> (<tt class="docutils literal">MPV_EVENT_SHUTDOWN</tt>)</dt>
12766-
<dd>Sent when the player quits, and the script should terminate. Normally
12767-
handled automatically. See <a class="reference internal" href="#details-on-the-script-initialization-and-lifecycle">Details on the script initialization and lifecycle</a>.</dd>
12766+
<dd>Sent when the player quits or when a script terminates. Normally handled
12767+
automatically. See <a class="reference internal" href="#details-on-the-script-initialization-and-lifecycle">Details on the script initialization and lifecycle</a>.</dd>
1276812768
<dt><tt class="docutils literal"><span class="pre">log-message</span></tt> (<tt class="docutils literal">MPV_EVENT_LOG_MESSAGE</tt>)</dt>
1276912769
<dd><p class="first">Receives messages enabled with <tt class="docutils literal">mpv_request_log_messages()</tt> (Lua:
1277012770
<tt class="docutils literal">mp.enable_messages</tt>).</p>
@@ -14127,6 +14127,9 @@ <h2>Property list</h2>
1412714127
<dt><tt class="docutils literal"><span class="pre">track-list/N/dolby-vision-profile</span></tt>, <tt class="docutils literal"><span class="pre">track-list/N/dolby-vision-level</span></tt></dt>
1412814128
<dd>Dolby Vision profile and level. May not be available if the container
1412914129
does not provide this information.</dd>
14130+
<dt><tt class="docutils literal"><span class="pre">track-list/N/metadata</span></tt>,</dt>
14131+
<dd>Works like the <tt class="docutils literal">metadata</tt> property, but it accesses metadata that is
14132+
set per track/stream instead of global values for the entire file.</dd>
1413014133
</dl>
1413114134
<p>When querying the property with the client API using <tt class="docutils literal">MPV_FORMAT_NODE</tt>,
1413214135
or with Lua <tt class="docutils literal">mp.get_property_native</tt>, this will return a mpv_node with
@@ -14179,6 +14182,8 @@ <h2>Property list</h2>
1417914182
&quot;replaygain-album-gain&quot; MPV_FORMAT_DOUBLE
1418014183
&quot;dolby-vision-profile&quot; MPV_FORMAT_INT64
1418114184
&quot;dolby-vision-level&quot; MPV_FORMAT_INT64
14185+
&quot;metadata&quot; MPV_FORMAT_NODE_MAP
14186+
(key and string value for each metadata entry)
1418214187
</pre>
1418314188
</dd>
1418414189
<dt><tt class="docutils literal"><span class="pre">current-tracks/...</span></tt></dt>
@@ -14401,27 +14406,25 @@ <h2>Property list</h2>
1440114406
general use (i.e. scripts, IPC clients, host applications, etc).
1440214407
The player itself does not use any data in it (although some builtin scripts may).
1440314408
The property is not preserved across player restarts.</p>
14409+
<p>Sub-paths can be accessed directly; e.g. <tt class="docutils literal"><span class="pre">user-data/my-script/state/a</span></tt> can be
14410+
read, written, or observed.</p>
14411+
<p>The top-level object itself cannot be written directly; write to sub-paths instead.</p>
14412+
<p>Converting this property or its sub-properties to strings will give a JSON
14413+
representation. If converting a leaf-level object (i.e. not a map or array)
14414+
and not using raw mode, the underlying content will be given (e.g. strings will be
14415+
printed directly, rather than quoted and JSON-escaped).</p>
1440414416
<p>The following sub-paths are reserved for internal uses or have special semantics:
1440514417
<tt class="docutils literal"><span class="pre">user-data/osc</span></tt>, <tt class="docutils literal"><span class="pre">user-data/mpv</span></tt>. Unless noted otherwise, the semantics of
1440614418
any properties under these sub-paths can change at any time and may not be relied
1440714419
upon, and writing to these properties may prevent builtin scripts from working
1440814420
properly.</p>
1440914421
<p>Currently, the following properties have defined special semantics:</p>
14410-
<dl class="docutils">
14422+
<dl class="last docutils">
1441114423
<dt><tt class="docutils literal"><span class="pre">user-data/osc/margins</span></tt></dt>
1441214424
<dd>This property is written by an OSC implementation to indicate the margins that it
1441314425
occupies. Its sub-properties <tt class="docutils literal">l</tt>, <tt class="docutils literal">r</tt>, <tt class="docutils literal">t</tt>, and <tt class="docutils literal">b</tt> should all be set to
1441414426
the left, right, top, and bottom margins respectively.
1441514427
Values are between 0.0 and 1.0, normalized to window width/height.</dd>
14416-
</dl>
14417-
<p>Sub-paths can be accessed directly; e.g. <tt class="docutils literal"><span class="pre">user-data/my-script/state/a</span></tt> can be
14418-
read, written, or observed.</p>
14419-
<p>The top-level object itself cannot be written directly; write to sub-paths instead.</p>
14420-
<p>Converting this property or its sub-properties to strings will give a JSON
14421-
representation. If converting a leaf-level object (i.e. not a map or array)
14422-
and not using raw mode, the underlying content will be given (e.g. strings will be
14423-
printed directly, rather than quoted and JSON-escaped).</p>
14424-
<dl class="last docutils">
1442514428
<dt><tt class="docutils literal"><span class="pre">user-data/mpv/ytdl</span></tt></dt>
1442614429
<dd><p class="first">Data shared by the builtin ytdl hook script.</p>
1442714430
<dl class="last docutils">
@@ -14435,6 +14438,8 @@ <h2>Property list</h2>
1443514438
stdout and stderr.</dd>
1443614439
</dl>
1443714440
</dd>
14441+
<dt><tt class="docutils literal"><span class="pre">user-data/mpv/console/open</span></tt></dt>
14442+
<dd>Whether the console is open.</dd>
1443814443
</dl>
1443914444
</dd>
1444014445
<dt><tt class="docutils literal"><span class="pre">menu-data</span></tt> (RW)</dt>
@@ -15994,11 +15999,6 @@ <h3>Configurable Options</h3>
1599415999
Adjusts grid width of completions.
1599516000
Values in the range 1.8..2.5 make sense for common monospace fonts.</p>
1599616001
</dd>
15997-
<dt><tt class="docutils literal">pause_on_open</tt></dt>
15998-
<dd><p class="first">Default: no</p>
15999-
<p class="last">Whether to pause playback when the console opens, and resume it when the
16000-
console is closed, if playback was not already paused.</p>
16001-
</dd>
1600216002
</dl>
1600316003
</div>
1600416004
</div>
@@ -17361,8 +17361,6 @@ <h2>The event loop</h2>
1736117361
non-negligible duration to complete, so we re-calculate <tt class="docutils literal">wait</tt> afterwards.</p>
1736217362
<p><tt class="docutils literal">mp.peek_timers_wait()</tt> returns the same values as <tt class="docutils literal">mp.process_timers()</tt>
1736317363
but without doing anything. Invalid result if called from a timer callback.</p>
17364-
<p>Note: <tt class="docutils literal">exit()</tt> is also registered for the <tt class="docutils literal">shutdown</tt> event, and its
17365-
implementation is a simple <tt class="docutils literal">mp.keep_running = false</tt>.</p>
1736617364
</div>
1736717365
</div>
1736817366
<div class="section" id="json-ipc">

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /