[grilo] Print debug info from plugins
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] Print debug info from plugins
- Date: Mon, 14 Jun 2010 10:28:54 +0000 (UTC)
commit 9ef33e93cf62eb89fe555e065f6698c063a61b86
Author: Joaquim Rocha <jrocha igalia com>
Date: Fri Jun 11 21:38:24 2010 +0200
Print debug info from plugins
tools/grilo-test-ui/main.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/tools/grilo-test-ui/main.c b/tools/grilo-test-ui/main.c
index e7d4f53..5022148 100644
--- a/tools/grilo-test-ui/main.c
+++ b/tools/grilo-test-ui/main.c
@@ -1473,6 +1473,13 @@ source_added_cb (GrlPluginRegistry *registry,
g_debug ("Detected new source available: '%s'",
grl_metadata_source_get_name (GRL_METADATA_SOURCE (source)));
+ g_debug ("\tPlugin's name: %s", grl_media_plugin_get_name (GRL_MEDIA_PLUGIN (source)));
+ g_debug ("\tPlugin's description: %s", grl_media_plugin_get_description (GRL_MEDIA_PLUGIN (source)));
+ g_debug ("\tPlugin's author: %s", grl_media_plugin_get_author (GRL_MEDIA_PLUGIN (source)));
+ g_debug ("\tPlugin's license: %s", grl_media_plugin_get_license (GRL_MEDIA_PLUGIN (source)));
+ g_debug ("\tPlugin's version: %s", grl_media_plugin_get_version (GRL_MEDIA_PLUGIN (source)));
+ g_debug ("\tPlugin's web site: %s", grl_media_plugin_get_site (GRL_MEDIA_PLUGIN (source)));
+
/* If showing the plugin list, refresh it */
if (!ui_state->cur_source && !ui_state->cur_container) {
show_plugins ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]