From 3a31074c0774255a64466cabef17b93d5c7b3a2b Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Thu, 7 Jan 2016 23:11:19 +0100 Subject: [PATCH] [spotify] Increase artwork timeout slightly --- src/spotify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spotify.c b/src/spotify.c index d48ce7a9..f47db9fe 100644 --- a/src/spotify.c +++ b/src/spotify.c @@ -1248,7 +1248,7 @@ artwork_get(struct spotify_command *cmd) } pthread_mutex_lock(&ctx.mutex); - mk_reltime(&ts, 1); + mk_reltime(&ts, 2); if (!ctx.result) pthread_cond_timedwait(&ctx.cond, &ctx.mutex, &ts); pthread_mutex_unlock(&ctx.mutex); @@ -1257,7 +1257,7 @@ artwork_get(struct spotify_command *cmd) if ((ctx.result < 0) || !fptr_sp_image_is_loaded(image)) { - DPRINTF(E_DBG, L_SPOTIFY, "Request for artwork gave timeout or error\n"); + DPRINTF(E_DBG, L_SPOTIFY, "Request for artwork gave timeout or error (result=%d)\n", ctx.result); goto level3_exit; } }