mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-22 11:35:43 -04:00
[artwork] Change search order for pipe artwork ("own" as fallback)
Ref. issue #1591
This commit is contained in:
parent
5abb7c9d57
commit
8013bac725
@ -256,7 +256,7 @@ static struct artwork_source artwork_item_source[] =
|
|||||||
{
|
{
|
||||||
.name = "own",
|
.name = "own",
|
||||||
.handler = source_item_own_get,
|
.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,
|
.media_kinds = MEDIA_KIND_ALL,
|
||||||
.cache = ON_SUCCESS | ON_FAILURE,
|
.cache = ON_SUCCESS | ON_FAILURE,
|
||||||
},
|
},
|
||||||
@ -336,6 +336,13 @@ static struct artwork_source artwork_item_source[] =
|
|||||||
.media_kinds = MEDIA_KIND_MUSIC,
|
.media_kinds = MEDIA_KIND_MUSIC,
|
||||||
.cache = NEVER,
|
.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,
|
.name = NULL,
|
||||||
.handler = NULL,
|
.handler = NULL,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user