<div dir="ltr">Hi, Timo:<br><br>&nbsp;&nbsp;&nbsp; If you don&#39;t mind trying playbin2, I know that it will emit signal `about-to-finish&#39; while changing the playing stuffs to next. You can connect this signal and do works you want. Playbin hasn&#39;t this signal yet. Refer to &lt;gst-plugin-base&gt;/gst/playback/gstplaybin2.c for more details.<br>
<br>Eric<br><br><div class="gmail_quote">2008/9/7 Timo <span dir="ltr">&lt;<a href="mailto:timovwb@gmail.com">timovwb@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello, I&#39;m looking for a way to execute commands when music changes.<br>
Like visualizations in music players, but instead of changing weird<br>
lines on the screen, I want to do things.<br>
Now I found out about playbin, but I can&#39;t get this to work, and can&#39;t<br>
find that much documentation about the subject with Python.<br>
This is a bit that I could figure out, but can&#39;t get any further:<br>
pipeline = gst.element_factory_make(&#39;playbin&#39;, &#39;playbin&#39;)<br>
vis = gst.element_factory_make(&quot;goom&quot;)<br>
pipeline.set_property(&#39;vis-plugin&#39;, vis)<br>
<br>
<br>
And if this is possible, can this also be done without writing a plugin<br>
for a music player? But just use my own program and use the soundcard or<br>
something to hear the sounds? This way I don&#39;t have to write a plugin<br>
for a couple of players but just use my own GUI.<br>
<br>
<br>
Thanks in advance,<br>
<br>
Timo<br>
<br>
-------------------------------------------------------------------------<br>
This SF.Net email is sponsored by the Moblin Your Move Developer&#39;s challenge<br>
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes<br>
Grand prize is a trip for two to an Open Source event anywhere in the world<br>
<a href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</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>