[libdmapsharing] For now, set status to SOUP_STATUS_NOT_FOUND on .../extra_data/artwork request Signed-off-by: W. Mic
- From: W. Michael Petullo <wmpetullo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdmapsharing] For now, set status to SOUP_STATUS_NOT_FOUND on .../extra_data/artwork request Signed-off-by: W. Mic
- Date: Mon, 25 Oct 2010 03:31:04 +0000 (UTC)
commit 9db0e06dbdb57710b63cc1705c771568a1d2e219
Author: W. Michael Petullo <mike flyn org>
Date: Sun Oct 24 22:30:33 2010 -0500
For now, set status to SOUP_STATUS_NOT_FOUND on .../extra_data/artwork request
Signed-off-by: W. Michael Petullo <mike flyn org>
libdmapsharing/dmap-share.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/libdmapsharing/dmap-share.c b/libdmapsharing/dmap-share.c
index ac11db3..69a3872 100644
--- a/libdmapsharing/dmap-share.c
+++ b/libdmapsharing/dmap-share.c
@@ -1790,6 +1790,11 @@ _dmap_share_databases (DMAPShare *share,
path,
query,
context);
+ } else if (g_str_has_prefix(rest_of_path, "/1/groups/") &&
+ g_str_has_suffix(rest_of_path, "/extra_data/artwork")) {
+ /* We don't yet implement cover requests here, say no cover */
+ g_debug ("Assuming no artwork for requested group/album");
+ soup_message_set_status (message, SOUP_STATUS_NOT_FOUND);
} else {
g_warning ("Unhandled: %s\n", path);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]