Thank you Arun,<div><br></div><div>I decided to try out the GstDiscoverer. I already included necessary header. However, it ould not be compiled:</div><div><br></div><div><div>g++ -g /home/phongcao/C/dingo-draft.cc -o /home/phongcao/C/dingo-draft `pkg-config --cflags --libs gtk+-2.0 gstreamer-0.10`</div>
<div><br></div><div>/home/phongcao/C/dingo-draft.cc: In function ‘void import_media_activated(GtkMenuItem*, GtkListStore*)’:</div><div>/home/phongcao/C/dingo-draft.cc:57: error: ‘GstDiscoverer’ was not declared in this scope</div>
<div>/home/phongcao/C/dingo-draft.cc:57: error: ‘discoverer’ was not declared in this scope</div><div>/home/phongcao/C/dingo-draft.cc:57: error: ‘gst_discoverer_new’ was not declared in this scope</div><div>/home/phongcao/C/dingo-draft.cc:59: error: ‘gst_discoverer_discover_uri’ was not declared in this scope</div>
<div>/home/phongcao/C/dingo-draft.cc:59: error: ‘gst_discoverer_info_get_tags’ was not declared in this scope</div><div><br></div><div>Is there anything wrong with the way I compile the source with GstDiscoverer?</div><br>
<div class="gmail_quote">On Sat, Jun 11, 2011 at 1:53 AM,  <span dir="ltr">&lt;<a href="mailto:gstreamer-devel-request@lists.freedesktop.org">gstreamer-devel-request@lists.freedesktop.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Send gstreamer-devel mailing list submissions to<br>
        <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:gstreamer-devel-request@lists.freedesktop.org">gstreamer-devel-request@lists.freedesktop.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:gstreamer-devel-owner@lists.freedesktop.org">gstreamer-devel-owner@lists.freedesktop.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of gstreamer-devel digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: How to extract tags from a stream without playing it?<br>
      (Arun Raghavan)<br>
   2. How to show song&#39;s information into GtkTreeView? (Phong Cao)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 10 Jun 2011 14:49:42 -0700<br>
From: Arun Raghavan &lt;<a href="mailto:arun.raghavan@collabora.co.uk">arun.raghavan@collabora.co.uk</a>&gt;<br>
Subject: Re: How to extract tags from a stream without playing it?<br>
To: <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
Message-ID: &lt;1307742584.4513.7.camel@snowflake&gt;<br>
Content-Type: text/plain; charset=&quot;UTF-8&quot;<br>
<br>
On Fri, 2011-06-10 at 14:05 -0400, Phong Cao wrote:<br>
&gt; Hello everybody,<br>
&gt;<br>
&gt;<br>
&gt; I am trying to write a music manager application and would like to get<br>
&gt; the stream tags (artist, album, etc...) and display it to the users.<br>
&gt; However, I don&#39;t know how to do this. I have read the GStreamer Manual<br>
&gt; but the section about tags reading is not presented carefully in<br>
&gt; there. Therefore, I just want to know which GStreamer functions I need<br>
&gt; to use to read the tags from the media files without opening them.<br>
<br>
For exactly what you need, take a look at:<br>
<a href="https://bugzilla.gnome.org/show_bug.cgi?id=564749" target="_blank">https://bugzilla.gnome.org/show_bug.cgi?id=564749</a><br>
<br>
For something more immediate:<br>
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstdiscoverer.html" target="_blank">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstdiscoverer.html</a><br>

<br>
Cheers,<br>
Arun<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sat, 11 Jun 2011 01:53:18 -0400<br>
From: Phong Cao &lt;<a href="mailto:phngcv@gmail.com">phngcv@gmail.com</a>&gt;<br>
Subject: How to show song&#39;s information into GtkTreeView?<br>
To: <a href="mailto:gtk-app-devel-list@gnome.org">gtk-app-devel-list@gnome.org</a>, <a href="mailto:gtk-list@gnome.org">gtk-list@gnome.org</a>,<br>
        <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>,<br>
        <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
Message-ID: &lt;<a href="mailto:BANLkTing7oeRkyRwdiO86A_29DxrmkFPvA@mail.gmail.com">BANLkTing7oeRkyRwdiO86A_29DxrmkFPvA@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Hello everybody,<br>
<br>
I am trying to develop a small music manager using GTK+ and GStreamer.<br>
However, I am currently unable to display the stream information (like<br>
artist, title, album, etc...) on the GtkTreeView.<br>
<br>
I do not know if anyone here has any experience developing software like<br>
this. But the idea behind this software is that when you click File -&gt; Open<br>
and then choosing a file from the GtkFileChooser, that music file will be<br>
imported into the GtkListStore.<br>
<br>
Attached with this email is the source code of the program. I think the<br>
problem relates to either GstTagList I used or GtkListStore.<br>
<br>
Thank you for helping me with this problem. I hope you guys have a good day!<br>
<br>
<br>
Best regards,<br>
<br>
<br>
Phong Cao<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110611/c5364428/attachment.html" target="_blank">http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110611/c5364428/attachment.html</a>&gt;<br>

-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: dingo-draft.cc<br>
Type: text/x-c++src<br>
Size: 19218 bytes<br>
Desc: not available<br>
URL: &lt;<a href="http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110611/c5364428/attachment.cc" target="_blank">http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110611/c5364428/attachment.cc</a>&gt;<br>

<br>
------------------------------<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
<br>
End of gstreamer-devel Digest, Vol 5, Issue 28<br>
**********************************************<br>
</blockquote></div><br></div>