Initially you can check if the tags are set properly using :<div>id3v2 --list mp3-filename</div><div><br clear="all">--vineeth<br>
<br><br><div class="gmail_quote">On Thu, Jan 13, 2011 at 7:51 PM, bonkers <span dir="ltr"><<a href="http://holzer.st">holzer.st</a>@<a href="http://akfree.it">akfree.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Hello!<br>
<br>
when i try to get some informations about the track using the<br>
GST_MESSAGE_TAG i get nothing.<br>
<br>
int MyStreamer_bus_call(GstBus *bus, GstMessage *msg, gpointer data)<br>
{<br>
GstTagList *taglist=gst_tag_list_new();<br>
char *c,*artist;<br>
GMainLoop *loop = (GMainLoop*) data;<br>
<br>
switch(GST_MESSAGE_TYPE(msg)){<br>
gst_message_parse_tag(msg, &taglist);<br>
if (gst_tag_list_get_string (taglist, GST_TAG_ARTIST, &artist))<br>
{<br>
printf("got artist: %s\n",artist);<br>
}<br>
else{<br>
printf("no artist!! \n");<br>
}<br>
}<br>
return 0;<br>
}<br>
<br>
I always get "no artist"!! I´m sure that I set the tags of the mp3 file.<br>
<br>
can you help me??<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/gst-tag-list-get-string-tp3215915p3215915.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/gst-tag-list-get-string-tp3215915p3215915.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
<br>
------------------------------------------------------------------------------<br>
Protect Your Site and Customers from Malware Attacks<br>
Learn about various malware tactics and how to avoid them. Understand<br>
malware threats, the impact they can have on your business, and how you<br>
can protect your company and customers by using code signing.<br>
<a href="http://p.sf.net/sfu/oracle-sfdevnl" target="_blank">http://p.sf.net/sfu/oracle-sfdevnl</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>