else
{
p_node = p_wxitem->p_item;
- if( p_wxitem->p_item->i_children > 0 )
+ if( p_wxitem->p_item->i_children > 0 &&
+ p_wxitem->p_item->pp_children[0]->i_children == -1)
{
p_item = p_wxitem->p_item->pp_children[0];
}
#define TITLE_ALL N_( "All items, unsorted" )
#define PLAYLIST_PROFILE 1
+#undef PLAYLIST_DEBUG
/*****************************************************************************
* Local prototypes
/* We are not playing from a view */
if( p_playlist->request.i_view == -1 )
{
+#ifdef PLAYLIST_DEBUG
+ msg_Dbg( p_playlist, "non-view mode request");
+#endif
/* Directly select the item, just like now */
i_skip = p_playlist->request.i_skip;
i_goto = p_playlist->request.i_goto;
}
else
{
+#ifdef PLAYLIST_DEBUG
+ msg_Dbg( p_playlist, "view mode request" );
+#endif
p_new = p_playlist->request.p_item;
i_skip = p_playlist->request.i_skip;