diff options
author | Guido Cella <guido@guidocella.xyz> | 2021-06-21 18:27:44 +0200 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2021-06-23 16:23:50 +0000 |
commit | cb56c2f888dbe86dbc38839c32684d54ea93c63e (patch) | |
tree | b6fc1dd2a1e372762f1906b03de9dc17a890b6c4 /options/options.c | |
parent | 0427fe97e1d162116a51754c92fcca46533112fe (diff) | |
download | mpv-cb56c2f888dbe86dbc38839c32684d54ea93c63e.tar.bz2 mpv-cb56c2f888dbe86dbc38839c32684d54ea93c63e.tar.xz |
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.
Diffstat (limited to 'options/options.c')
-rw-r--r-- | options/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |