Commit 42b391ea authored by Clément Stenac's avatar Clément Stenac

Fix ITEMPLAY in no-view mode

parent 6395c47b
...@@ -251,7 +251,14 @@ int playlist_vaControl( playlist_t * p_playlist, int i_query, va_list args ) ...@@ -251,7 +251,14 @@ int playlist_vaControl( playlist_t * p_playlist, int i_query, va_list args )
playlist_item_t *); playlist_item_t *);
p_playlist->request.i_view = p_playlist->status.i_view; p_playlist->request.i_view = p_playlist->status.i_view;
p_view = playlist_ViewFind( p_playlist, p_playlist->status.i_view ); p_view = playlist_ViewFind( p_playlist, p_playlist->status.i_view );
if( p_view )
{
p_playlist->request.p_node = p_view->p_root; p_playlist->request.p_node = p_view->p_root;
}
else
{
p_playlist->request.p_node = NULL;
}
break; break;
case PLAYLIST_VIEWPLAY: case PLAYLIST_VIEWPLAY:
......
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