Commit 4d9b20e3 authored by Clément Stenac's avatar Clément Stenac

Honor don't skip flag for items too

parent 5c8ad6bb
...@@ -600,8 +600,6 @@ static int ParseSAP( intf_thread_t *p_intf, uint8_t *p_buffer, int i_read ) ...@@ -600,8 +600,6 @@ static int ParseSAP( intf_thread_t *p_intf, uint8_t *p_buffer, int i_read )
psz_sdp++; psz_sdp++;
} }
fprintf(stderr,"\n\n%s\n\n", psz_sdp);
/* Parse SDP info */ /* Parse SDP info */
p_sdp = ParseSDP( VLC_OBJECT(p_intf), psz_sdp ); p_sdp = ParseSDP( VLC_OBJECT(p_intf), psz_sdp );
......
...@@ -674,6 +674,13 @@ static playlist_item_t * NextItem( playlist_t *p_playlist ) ...@@ -674,6 +674,13 @@ static playlist_item_t * NextItem( playlist_t *p_playlist )
return NULL; return NULL;
} }
if( !p_playlist->request.b_request &&
!(p_playlist->status.p_item->i_flags & PLAYLIST_SKIP_FLAG) )
{
msg_Dbg( p_playlist, "no-skip mode, stopping") ;
return NULL;
}
/* TODO: improve this (only use current node) */ /* TODO: improve this (only use current node) */
/* TODO: use the "shuffled view" internally ? */ /* TODO: use the "shuffled view" internally ? */
/* Random case. This is an exception: if request, but request is skip +- 1 /* Random case. This is an exception: if request, but request is skip +- 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment