<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Rémi Duraffort wrote:
<blockquote cite="mid:20090616102137.GB23896@dinauz.org" type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">--- a/src/playlist/item.c
+++ b/src/playlist/item.c
@@ -899,10 +899,16 @@ static int DeleteInner( playlist_t * p_playlist, playlist_item_t *p_item,
ARRAY_REMOVE( p_playlist->items, i );
/* Check if it is the current item */
- if( get_current_status_item( p_playlist ) == p_item && b_stop )
+ if( get_current_status_item( p_playlist ) == p_item )
{
- playlist_Control( p_playlist, PLAYLIST_STOP, pl_Locked );
- msg_Info( p_playlist, "stopping playback" );
+ /* Stop it if we have to */
+ if( b_stop )
+ {
+ playlist_Control( p_playlist, PLAYLIST_STOP, pl_Locked );
+ msg_Info( p_playlist, "stopping playback" );
+ }
+ /* In any case, this item can't be the next one to be played ! */
+ set_current_status_item( p_playlist, NULL );
</pre>
</blockquote>
<pre wrap="">Finally fixed the old bug where zombie item can still playback?
</pre>
</blockquote>
<pre wrap=""><!---->AFAIK yes.
</pre>
</blockquote>
Thanks you for making this patch I will be testing.<br>
<br>
</body>
</html>