player: load cover art with the media filename

Closes #8666.
This commit is contained in:
Guido Cella
2021-03-22 10:21:52 +01:00
committed by Dudemanguy
parent 89684976ac
commit 029ff1049b
3 changed files with 28 additions and 19 deletions

View File

@@ -594,7 +594,7 @@ static const m_option_t mp_opts[] = {
{"audio-file-auto", OPT_CHOICE(audiofile_auto,
{"no", -1}, {"exact", 0}, {"fuzzy", 1}, {"all", 2})},
{"cover-art-auto", OPT_CHOICE(coverart_auto,
{"no", -1}, {"fuzzy", 1})},
{"no", -1}, {"exact", 0}, {"fuzzy", 1}, {"all", 2})},
{"", OPT_SUBSTRUCT(subs_rend, mp_subtitle_sub_opts)},
{"", OPT_SUBSTRUCT(subs_filt, mp_sub_filter_opts)},
@@ -1016,7 +1016,7 @@ static const struct MPOpts mp_default_opts = {
.pitch_correction = 1,
.sub_auto = 0,
.audiofile_auto = -1,
.coverart_auto = 1,
.coverart_auto = 2,
.osd_bar_visible = 1,
.screenshot_template = "mpv-shot%n",
.play_dir = 1,