i have written this <div><br></div><div><div>import pygtk</div><div>import gobject</div><div>gobject.threads_init()</div><div>import pygst</div><div>import gst</div><div>from gst.extend import discoverer</div><div>import gst.pbutils</div>
<div><br></div><div>f = "/home/chris/music.mp3"</div><div><br></div><div>newitem = gst.pbutils.Discoverer(50000000000)</div><div>info = newitem.discover_uri("file:///home/chris/music.mp3")</div><div>tags = info.get_tags()</div>
<div>print tags</div><div><br></div><div><br></div><div>dont pay attetion at the imports!</div><div>it works but the result is <GstTagList at 0x9fbf138></div><div>how i can make it into a list?</div><br><div class="gmail_quote">
Στις 23 Φεβρουαρίου 2012 5:47 μ.μ., ο χρήστης Χρήστος Τριανταφύλλης <span dir="ltr"><<a href="mailto:christriant1995@gmail.com">christriant1995@gmail.com</a>></span> έγραψε:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
ok i will look into it later!<div>if i face a problem i will replay here!<div><div class="h5"><br><br><div class="gmail_quote">2012/2/23 Tim-Philipp Müller <span dir="ltr"><<a href="mailto:t.i.m@zen.co.uk" target="_blank">t.i.m@zen.co.uk</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Thu, 2012-02-23 at 17:29 +0200, Χρήστος Τριανταφύλλης wrote:<br>
> no? ok thanks for your help!<br>
><br>
</div><div>> is there any documentation about discoverer that i can read?<br>
<br>
</div>There's documentation for the C API:<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>
GstDiscoverer will give you one or more tag lists (GstTagList), which is<br>
where you get most other metadata information from, such as artist,<br>
title, track number, etc.<br>
<br>
Cheers<br>
<span><font color="#888888"> -Tim<br>
</font></span><div><div><br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">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>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>