summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido Cella <guido@guidocella.xyz>2023-10-04 10:47:42 +0200
committerDudemanguy <random342@airmail.cc>2023-10-04 15:31:38 +0000
commitec80981c79f4cf350b48bb31679f8c6492977f3e (patch)
tree228c2caf1b739892762631f1a6b0d7867504d422
parent7b8a30fc8132203bc93d35ac887682d2044ad5a9 (diff)
downloadmpv-ec80981c79f4cf350b48bb31679f8c6492977f3e.tar.bz2
mpv-ec80981c79f4cf350b48bb31679f8c6492977f3e.tar.xz
external_files: remove duplicate from cover art whitelist
I made a mistake in 0070a5820e here because there were 2 separate groups of "front" filenames.
-rw-r--r--DOCS/man/options.rst4
-rw-r--r--player/external_files.c1
2 files changed, 2 insertions, 3 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index a9c8687e4f..25ad0f4a67 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -7222,8 +7222,8 @@ Miscellaneous
``--cover-art-whitelist=<no|yes>``
Whether to load files with a filename among "AlbumArt", "Album", "cover",
- "front", "AlbumArtSmall", "Folder", ".folder", "thumb", "front", and an
- extension in ``--cover-art-auto-exts``, as cover art. This has no effect is
+ "front", "AlbumArtSmall", "Folder", ".folder", "thumb", and an extension in
+ ``--cover-art-auto-exts``, as cover art. This has no effect if
``cover-art-auto`` is ``no``.
Default: ``yes``.
diff --git a/player/external_files.c b/player/external_files.c
index e806954a6c..e9a60815e1 100644
--- a/player/external_files.c
+++ b/player/external_files.c
@@ -43,7 +43,6 @@ static const char *const cover_files[] = {
"Folder",
".folder",
"thumb",
- "front",
NULL
};