[grilo] grl-inspect: Show the type of plugin
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] grl-inspect: Show the type of plugin
- Date: Fri, 16 Jul 2010 08:18:39 +0000 (UTC)
commit 9a7c6f340175d6f8be75774eb0c89531cb91c341
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date: Tue Jul 13 18:56:24 2010 +0200
grl-inspect: Show the type of plugin
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]