[PATCH 5/7] grl-inspect: Show the type of plugin
- From: "Juan A. Suarez Romero" <jasuarez igalia com>
- To: grilo-list gnome org
- Subject: [PATCH 5/7] grl-inspect: Show the type of plugin
- Date: Wed, 14 Jul 2010 10:41:10 +0200
Shows if plugin provides Media or Metadata.
---
tools/grilo-inspect/grl-inspect.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tools/grilo-inspect/grl-inspect.c b/tools/grilo-inspect/grl-inspect.c
index 77a8758..4add37e 100644
--- a/tools/grilo-inspect/grl-inspect.c
+++ b/tools/grilo-inspect/grl-inspect.c
@@ -64,6 +64,8 @@ introspect_plugin (const gchar *plugin_id)
g_print ("Plugin Details:\n");
g_print (" Identifier:\t\t%s\n", grl_media_plugin_get_id (plugin));
g_print (" Filename:\t\t%s\n", grl_media_plugin_get_filename (plugin));
+ g_print (" Type:\t\t\t%s\n",
+ GRL_IS_MEDIA_SOURCE (plugin)? "Media Provider": "Metadata Provider");
g_print (" Rank:\t\t\t%d\n", grl_media_plugin_get_rank (plugin));
value = grl_media_plugin_get_name (plugin);
--
1.7.0.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]