[artwork] Change search order for pipe artwork ("own" as fallback)

Ref. issue #1591
This commit is contained in:
ejurgensen 2023-03-28 22:56:26 +02:00
parent 5abb7c9d57
commit 8013bac725

View File

@ -256,7 +256,7 @@ static struct artwork_source artwork_item_source[] =
{
.name = "own",
.handler = source_item_own_get,
.data_kinds = (1 << DATA_KIND_FILE) | (1 << DATA_KIND_PIPE),
.data_kinds = (1 << DATA_KIND_FILE),
.media_kinds = MEDIA_KIND_ALL,
.cache = ON_SUCCESS | ON_FAILURE,
},
@ -336,6 +336,13 @@ static struct artwork_source artwork_item_source[] =
.media_kinds = MEDIA_KIND_MUSIC,
.cache = NEVER,
},
{
.name = "own (pipe)",
.handler = source_item_own_get,
.data_kinds = (1 << DATA_KIND_PIPE),
.media_kinds = MEDIA_KIND_ALL,
.cache = ON_SUCCESS | ON_FAILURE,
},
{
.name = NULL,
.handler = NULL,