Commit 8ed80213 authored by Benjamin Pracht's avatar Benjamin Pracht

* Loop at the beginning of the playlist instead of the beginning of the current node when loop is enabled

This should be the right fix, but testing is welcomed.
parent b25a72c0
...@@ -992,7 +992,7 @@ static playlist_item_t * NextItem( playlist_t *p_playlist ) ...@@ -992,7 +992,7 @@ static playlist_item_t * NextItem( playlist_t *p_playlist )
p_new = playlist_FindNextFromParent( p_playlist, p_new = playlist_FindNextFromParent( p_playlist,
p_playlist->request.i_view, p_playlist->request.i_view,
p_view->p_root, p_view->p_root,
p_playlist->request.p_node, p_view->p_root,
NULL ); NULL );
if( p_new == NULL ) break; if( p_new == NULL ) break;
} }
...@@ -1080,7 +1080,7 @@ static playlist_item_t * NextItem( playlist_t *p_playlist ) ...@@ -1080,7 +1080,7 @@ static playlist_item_t * NextItem( playlist_t *p_playlist )
p_new = playlist_FindNextFromParent( p_playlist, p_new = playlist_FindNextFromParent( p_playlist,
p_playlist->status.i_view, p_playlist->status.i_view,
p_view->p_root, p_view->p_root,
p_playlist->status.p_node, p_view->p_root,
NULL ); NULL );
} }
if( p_new != NULL && !(p_new->i_flags & PLAYLIST_SKIP_FLAG) ) if( p_new != NULL && !(p_new->i_flags & PLAYLIST_SKIP_FLAG) )
......
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