[libdmapsharing] Change warnings about missing metadata to debug statements
- From: W. Michael Petullo <wmpetullo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdmapsharing] Change warnings about missing metadata to debug statements
- Date: Sat, 19 Mar 2011 21:41:12 +0000 (UTC)
commit f11a6ae3aa410043dc82d0fb2bc7a6a630c4faf9
Author: W. Michael Petullo <mike flyn org>
Date: Sat Mar 19 16:39:55 2011 -0500
Change warnings about missing metadata to debug statements
See also https://bugzilla.gnome.org/show_bug.cgi?id=645210.
Signed-off-by: W. Michael Petullo <mike flyn org>
libdmapsharing/daap-share.c | 14 +++++++-------
libdmapsharing/dpap-share.c | 10 +++++-----
2 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/libdmapsharing/daap-share.c b/libdmapsharing/daap-share.c
index 6617fa7..74def68 100644
--- a/libdmapsharing/daap-share.c
+++ b/libdmapsharing/daap-share.c
@@ -533,7 +533,7 @@ add_entry_to_mlcl (gpointer id, DMAPRecord * record, gpointer _mb)
dmap_structure_add (mlit, DMAP_CC_MINM, title);
g_free (title);
} else
- g_warning ("Title requested but not available");
+ g_debug ("Title requested but not available");
}
if (_dmap_share_client_requested (mb->bits, PERSISTENT_ID))
dmap_structure_add (mlit, DMAP_CC_MPER,
@@ -556,7 +556,7 @@ add_entry_to_mlcl (gpointer id, DMAPRecord * record, gpointer _mb)
dmap_structure_add (mlit, DMAP_CC_ASAL, album);
g_free (album);
} else
- g_warning ("Album requested but not available");
+ g_debug ("Album requested but not available");
}
if (_dmap_share_client_requested (mb->bits, SONG_GROUPING))
dmap_structure_add (mlit, DMAP_CC_AGRP, "");
@@ -568,7 +568,7 @@ add_entry_to_mlcl (gpointer id, DMAPRecord * record, gpointer _mb)
dmap_structure_add (mlit, DMAP_CC_ASAR, artist);
g_free (artist);
} else
- g_warning ("Artist requested but not available");
+ g_debug ("Artist requested but not available");
}
if (_dmap_share_client_requested (mb->bits, SONG_BITRATE)) {
gint32 bitrate = 0;
@@ -628,7 +628,7 @@ add_entry_to_mlcl (gpointer id, DMAPRecord * record, gpointer _mb)
dmap_structure_add (mlit, DMAP_CC_ASFM, format);
g_free (format);
} else
- g_warning ("Format requested but not available");
+ g_debug ("Format requested but not available");
}
if (_dmap_share_client_requested (mb->bits, SONG_GENRE)) {
gchar *genre = NULL;
@@ -638,7 +638,7 @@ add_entry_to_mlcl (gpointer id, DMAPRecord * record, gpointer _mb)
dmap_structure_add (mlit, DMAP_CC_ASGN, genre);
g_free (genre);
} else
- g_warning ("Genre requested but not available");
+ g_debug ("Genre requested but not available");
}
if (_dmap_share_client_requested (mb->bits, SONG_DESCRIPTION))
dmap_structure_add (mlit, DMAP_CC_ASDT, ""); /* FIXME: e.g., wav audio file */
@@ -696,7 +696,7 @@ add_entry_to_mlcl (gpointer id, DMAPRecord * record, gpointer _mb)
dmap_structure_add (mlit, DMAP_CC_ASSA, sort_artist);
g_free (sort_artist);
} else {
- g_warning ("Sort artist requested but not available");
+ g_debug ("Sort artist requested but not available");
}
}
if (_dmap_share_client_requested (mb->bits, SONG_SORT_ALBUM)) {
@@ -707,7 +707,7 @@ add_entry_to_mlcl (gpointer id, DMAPRecord * record, gpointer _mb)
dmap_structure_add (mlit, DMAP_CC_ASSU, sort_album);
g_free (sort_album);
} else {
- g_warning ("Sort album requested but not available");
+ g_debug ("Sort album requested but not available");
}
}
if (_dmap_share_client_requested (mb->bits, SONG_MEDIAKIND)) {
diff --git a/libdmapsharing/dpap-share.c b/libdmapsharing/dpap-share.c
index 304bc25..2263692 100644
--- a/libdmapsharing/dpap-share.c
+++ b/libdmapsharing/dpap-share.c
@@ -370,7 +370,7 @@ add_entry_to_mlcl (gpointer id, DMAPRecord * record, gpointer _mb)
dmap_structure_add (mlit, DMAP_CC_MINM, filename);
g_free (filename);
} else
- g_warning ("Filename requested but not available");
+ g_debug ("Filename requested but not available");
}
if (_dmap_share_client_requested (mb->bits, PERSISTENT_ID))
dmap_structure_add (mlit, DMAP_CC_MPER,
@@ -385,7 +385,7 @@ add_entry_to_mlcl (gpointer id, DMAPRecord * record, gpointer _mb)
dmap_structure_add (mlit, DMAP_CC_PASP, aspect_ratio);
g_free (aspect_ratio);
} else
- g_warning
+ g_debug
("Aspect ratio requested but not available");
}
if (_dmap_share_client_requested (mb->bits, PHOTO_CREATIONDATE)) {
@@ -402,7 +402,7 @@ add_entry_to_mlcl (gpointer id, DMAPRecord * record, gpointer _mb)
dmap_structure_add (mlit, DMAP_CC_PIMF, filename);
g_free (filename);
} else
- g_warning ("Filename requested but not available");
+ g_debug ("Filename requested but not available");
}
if (_dmap_share_client_requested (mb->bits, PHOTO_IMAGEFORMAT)) {
gchar *format = NULL;
@@ -412,7 +412,7 @@ add_entry_to_mlcl (gpointer id, DMAPRecord * record, gpointer _mb)
dmap_structure_add (mlit, DMAP_CC_PFMT, format);
g_free (format);
} else
- g_warning ("Format requested but not available");
+ g_debug ("Format requested but not available");
}
if (_dmap_share_client_requested (mb->bits, PHOTO_IMAGEFILESIZE)) {
GByteArray *thumbnail = NULL;
@@ -455,7 +455,7 @@ add_entry_to_mlcl (gpointer id, DMAPRecord * record, gpointer _mb)
dmap_structure_add (mlit, DMAP_CC_PCMT, comments);
g_free (comments);
} else
- g_warning ("Comments requested but not available");
+ g_debug ("Comments requested but not available");
}
if (_dmap_share_client_requested (mb->bits, PHOTO_FILEDATA)) {
size_t size = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]