[rygel] mediathek: Use debug instead of warning
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] mediathek: Use debug instead of warning
- Date: Sat, 10 Mar 2012 11:37:44 +0000 (UTC)
commit f0893754417e4979164275b434095d7fec349e2e
Author: Jens Georg <mail jensge org>
Date: Sat Mar 10 13:27:51 2012 +0200
mediathek: Use debug instead of warning
Just skip the item, if any of those nodes is missing it's not a video
item so we're not interested in it. There is no need to display a scary
warning for this.
.../mediathek/rygel-mediathek-rss-container.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/mediathek/rygel-mediathek-rss-container.vala b/src/plugins/mediathek/rygel-mediathek-rss-container.vala
index b17de76..e2084d2 100644
--- a/src/plugins/mediathek/rygel-mediathek-rss-container.vala
+++ b/src/plugins/mediathek/rygel-mediathek-rss-container.vala
@@ -112,8 +112,8 @@ public class Rygel.Mediathek.RssContainer : Rygel.SimpleContainer {
this.add_child_item (item);
}
} catch (VideoItemError error) {
- warning ("Error creating video item: %s",
- error.message);
+ debug ("Could not create video item: %s, skipping",
+ error.message);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]