[sushi] Set the musicbrainz query limit higher
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi] Set the musicbrainz query limit higher
- Date: Mon, 16 Jul 2012 20:39:12 +0000 (UTC)
commit 15ff9dd94c20c2c8da286b46f48176e999165ecd
Author: Jon Dowland <jmtd debian org>
Date: Wed Jun 13 11:58:00 2012 +0100
Set the musicbrainz query limit higher
Setting the musicbrainz query limiter to higher than 1 means
that multiple responses can be checked for an ASIN record. This
increases the chances that album art can be retrieved and displayed
successfully.
src/libsushi/sushi-cover-art.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libsushi/sushi-cover-art.c b/src/libsushi/sushi-cover-art.c
index 1148dc2..32279d3 100644
--- a/src/libsushi/sushi-cover-art.c
+++ b/src/libsushi/sushi-cover-art.c
@@ -229,7 +229,7 @@ fetch_uri_job (GIOSchedulerJob *sched_job,
param_values[0] = g_strdup_printf ("artist:\"%s\" AND release:\"%s\"", job->artist, job->album);
param_names[1] = g_strdup ("limit");
- param_values[1] = g_strdup ("1");
+ param_values[1] = g_strdup ("10");
param_names[2] = NULL;
param_values[2] = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]