From 0070a5820e9f182bb37620d3bddbdfde26ce00a3 Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Sun, 1 Oct 2023 16:33:05 +0200 Subject: external_files: base cover-art-whitelist on cover-art-auto-exts Combine the cover art whitelist with the extensions in --cover-art-auto-exts instead of hardcoding them. This is shorter, checks for more extensions, saves us from updating the whitelist everytime we add a new image extension, and since the whitelist had gotten so big and the priority is calculated as MP_ARRAY_SIZE(cover_files) - n, files like cover.jpg were taking priority over cover art loaded by --cover-art-auto=exact. --- DOCS/man/options.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'DOCS/man') diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 49983ab32d..bc7425d9ea 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -7218,9 +7218,10 @@ Miscellaneous This is a string list option. See `List Options`_ for details. ``--cover-art-whitelist=`` - Whether to load filenames in an internal whitelist, such as ``cover.jpg``, - as cover art. If ``cover-art-auto`` is set to ``no``, the whitelisted - filenames are never loaded even if this option is set to ``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 + ``cover-art-auto`` is ``no``. Default: ``yes``. -- cgit v1.2.3