From 8013bac725f9e261b31b2c5d813e28f23fa973a9 Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Tue, 28 Mar 2023 22:56:26 +0200 Subject: [PATCH] [artwork] Change search order for pipe artwork ("own" as fallback) Ref. issue #1591 --- src/artwork.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/artwork.c b/src/artwork.c index c2ae62f6..eedb55c2 100644 --- a/src/artwork.c +++ b/src/artwork.c @@ -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,