<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Eduardo,<br>
<br>
now I tried the following, still without success :-(<br>
<br>
def about_to_finish(self, player):<br>
player.set_state(gst.STATE_READY)<br>
player.set_property("uri", self.filename)<br>
player.set_state(gst.STATE_PLAYING)<br>
<br>
The next file just won't play, ... And as I said before setting the
state to STATE_NULL killed the program. <br>
<br>
Ralph<br>
<br>
On 20.12.11 23:06, Eduardo Matus wrote:
<blockquote
cite="mid:CAP-mnwCCksmE-sEOR79GjNa_tAKQdcaby_rTqqYmiKN4p74_RQ@mail.gmail.com"
type="cite">
<p>Did you try firts to stop or set to ready the pipeline, then
set the filename an play?</p>
<div class="gmail_quote">El 20/12/2011 18:05, "Ralph Heinkel" <<a
moz-do-not-send="true" href="mailto:ralph.heinkel@web.de">ralph.heinkel@web.de</a>>
escribió:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Hi Eduardo,<br>
so according to your hint I changed the method to<br>
<br>
def about_to_finish(self, player):<br>
player.set_property("uri", self.filename)<br>
player.set_state(gst.STATE_PLAYING)<br>
<br>
but unfortunately this did not help, it still only plays the
first song. I also tried to set the state first to
STATE_NULL but then I got a lengthy error message that this
is not allowed from within the event thread, and the whole
thing went down with a segmentation fault.<br>
<br>
Ralph</div>
</blockquote>
</div>
</blockquote>
</body>
</html>