options: make --cover-art-auto=exact the default

Now that a separate --cover-art-whitelist option exists, files like
cover.jpg are loaded even without setting --cover-art-auto to fuzzy, so
only load files that have exactly the media filename by default, since
fuzzy loading is probably more likely to load unwanted images than to
load cover art that the user intended to display, especially if you play
audio files with a short filename like a.mp3.
This commit is contained in:
Guido Cella 2021-12-03 16:59:26 +01:00 committed by Dudemanguy
parent 9d2a6dc302
commit ccff82e610
2 changed files with 3 additions and 3 deletions

View File

@ -6904,8 +6904,8 @@ Miscellaneous
(which are not marked as cover art), external cover art will not be loaded.
:no: Don't automatically load cover art.
:exact: Load the media filename with an image file extension.
:fuzzy: Load all cover art containing the media filename (default).
:exact: Load the media filename with an image file extension (default).
:fuzzy: Load all cover art containing the media filename.
:all: Load all images in the current directory.
See ``--cover-art-files`` for details about what constitutes cover art.

View File

@ -1033,7 +1033,7 @@ static const struct MPOpts mp_default_opts = {
.pitch_correction = 1,
.sub_auto = 0,
.audiofile_auto = -1,
.coverart_auto = 1,
.coverart_auto = 0,
.coverart_whitelist = true,
.osd_bar_visible = 1,
.screenshot_template = "mpv-shot%n",