summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorTom Wilson <twilson90@hotmail.co.uk>2021-02-26 11:05:24 +0000
committerJan Ekström <jeebjp@gmail.com>2021-03-09 23:28:21 +0200
commitd7f6eba233369904ab1fa1ccd0f943bcf2fbc6e9 (patch)
tree7b7006356283bd126263117b8e194d487df391de /DOCS
parenteef281e89eff6e21a67a106d27fd38979ad20752 (diff)
downloadmpv-d7f6eba233369904ab1fa1ccd0f943bcf2fbc6e9.tar.bz2
mpv-d7f6eba233369904ab1fa1ccd0f943bcf2fbc6e9.tar.xz
player/command: add albumart argument to video-add
Enables marking of specific video sources as album art. Co-authored-by: Jan Ekström <jeebjp@gmail.com>
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/interface-changes.rst2
-rw-r--r--DOCS/man/input.rst7
2 files changed, 7 insertions, 2 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst
index 1f5fda5b02..ff7bf75c89 100644
--- a/DOCS/interface-changes.rst
+++ b/DOCS/interface-changes.rst
@@ -34,6 +34,8 @@ Interface changes
which didn't take the menu bar and Dock into account. The new default
behaviour includes both. To revert to the old behavior set this to
`whole`.
+ - add an additional optional `albumart` argument to the `video-add` command,
+ which tells mpv to load the given video as album art.
--- mpv 0.33.0 ---
- add `--d3d11-exclusive-fs` flag to enable D3D11 exclusive fullscreen mode
when the player enters fullscreen.
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 82b570c228..9f77123a6c 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -801,8 +801,11 @@ Remember to quote string arguments in input.conf (see `Flat command syntax`_).
``audio-reload [<id>]``
Reload the given audio tracks. See ``sub-reload`` command.
-``video-add <url> [<flags> [<title> [<lang>]]]``
- Load the given video file. See ``sub-add`` command.
+``video-add <url> [<flags> [<title> [<lang> [<albumart>]]]]``
+ Load the given video file. See ``sub-add`` command for common options.
+
+ ``albumart`` (``MPV_FORMAT_FLAG``)
+ If enabled, mpv will load the given video as album art.
``video-remove [<id>]``
Remove the given video track. See ``sub-remove`` command.