From cb56c2f888dbe86dbc38839c32684d54ea93c63e Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Mon, 21 Jun 2021 18:27:44 +0200 Subject: player: change cover-art-auto behavior This makes cover-art-auto behave more like sub-auto and audio-file-auto: - load cover art with a language, e.g. if playing foo.mp3, foo.en.jpg will be loaded with lang=en - load cover art containing the media filename with fuzzy and all, e.g. 'foo (large).jpg' - make all/2 load all images in the directory, and make fuzzy/1 the default These are all uncommon use cases, but synchronizing the behavior of the external file options simplifies the code. --- options/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options/options.c') diff --git a/options/options.c b/options/options.c index f43068f221..89ea4f85e0 100644 --- a/options/options.c +++ b/options/options.c @@ -1018,7 +1018,7 @@ static const struct MPOpts mp_default_opts = { .pitch_correction = 1, .sub_auto = 0, .audiofile_auto = -1, - .coverart_auto = 2, + .coverart_auto = 1, .osd_bar_visible = 1, .screenshot_template = "mpv-shot%n", .play_dir = 1, -- cgit v1.2.3