mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 07:06:59 +08:00
DOCS/man/mpv: document archive protocol
This protocol is useful for opening a specified file in an archive instead of opening the archive as a playlist.
This commit is contained in:
@@ -1474,6 +1474,20 @@ PROTOCOLS
|
||||
|
||||
Like ``memory://``, but the string is interpreted as hexdump.
|
||||
|
||||
``archive://[ARCHIVE PATH]|[FILE PATH IN ARCHIVE]``
|
||||
|
||||
Open a file at the specified path inside an archive. Requires libarchive
|
||||
feature enabled. The archive path must have all ``%`` and ``|`` characters
|
||||
URL escaped. The file path should not be URL escaped.
|
||||
|
||||
.. admonition:: Example
|
||||
|
||||
::
|
||||
|
||||
mpv "archive://file.zip|video.mkv"
|
||||
|
||||
This will play ``video.mkv`` in the archive file ``file.zip``.
|
||||
|
||||
PSEUDO GUI MODE
|
||||
===============
|
||||
|
||||
|
||||
Reference in New Issue
Block a user